diff options
author | Terry Lv <r65388@freescale.com> | 2011-11-10 10:46:49 +0800 |
---|---|---|
committer | Terry Lv <r65388@freescale.com> | 2011-11-10 16:11:41 +0800 |
commit | 97efee177f82b082db9d2019ed641c5b99b3f54b (patch) | |
tree | 592131af109bd2349cadad6581f94d92e4da6e2a /board/freescale | |
parent | a30b8dbe9cc199067c0cc5a2dc0d7322c9f4303a (diff) | |
download | u-boot-imx-97efee177f82b082db9d2019ed641c5b99b3f54b.zip u-boot-imx-97efee177f82b082db9d2019ed641c5b99b3f54b.tar.gz u-boot-imx-97efee177f82b082db9d2019ed641c5b99b3f54b.tar.bz2 |
ENGR00161852: remove u-boot build warnings for mx6q
Remove u-boot build warnings for mx6q.
Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/mx6q_sabrelite/mx6q_sabrelite.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/board/freescale/mx6q_sabrelite/mx6q_sabrelite.c b/board/freescale/mx6q_sabrelite/mx6q_sabrelite.c index dc87502..472f1c7 100644 --- a/board/freescale/mx6q_sabrelite/mx6q_sabrelite.c +++ b/board/freescale/mx6q_sabrelite/mx6q_sabrelite.c @@ -400,7 +400,7 @@ int board_mmc_init(bd_t *bis) * CONFIG is not defined, then the default target delay value will be used. */ #ifdef CONFIG_GET_DDR_TARGET_DELAY -u32 get_ddr_delay(struct fsl_esdhc *cfg) +u32 get_ddr_delay(struct fsl_esdhc_cfg *cfg) { /* No delay required */ return 0; @@ -476,6 +476,7 @@ iomux_v3_cfg_t enet_pads_final[] = { MX6Q_PAD_RGMII_RX_CTL__ENET_RGMII_RX_CTL, }; +#ifdef DEBUG static int phy_read(char *devname, unsigned char addr, unsigned char reg, unsigned short *pdata) { @@ -485,6 +486,7 @@ static int phy_read(char *devname, unsigned char addr, unsigned char reg, devname, addr, reg); return ret; } +#endif static int phy_write(char *devname, unsigned char addr, unsigned char reg, unsigned short value) |