diff options
author | Stefano Babic <sbabic@denx.de> | 2011-11-06 04:40:52 +0400 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2011-11-11 14:36:56 +0400 |
commit | 1f3d637f534d3294fcf063a6ff2987f177022955 (patch) | |
tree | dc70b163bee1636972e9a0fca0ad59aa870c291b /board/syteco/zmx25 | |
parent | 06194b6b65f701a9d6ef2d9b4123c4afe57d8783 (diff) | |
download | u-boot-1f3d637f534d3294fcf063a6ff2987f177022955.tar.xz |
MX25: zmx25: GCC4.6 fix build warnings
Fix:
zmx25.c: In function 'board_late_init':
zmx25.c:131:25: warning: variable 'padctl' set but not used [-Wunused-but-set-variable]
Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'board/syteco/zmx25')
-rw-r--r-- | board/syteco/zmx25/zmx25.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/board/syteco/zmx25/zmx25.c b/board/syteco/zmx25/zmx25.c index a89ee1a086..c56b195ae1 100644 --- a/board/syteco/zmx25/zmx25.c +++ b/board/syteco/zmx25/zmx25.c @@ -128,7 +128,6 @@ int board_late_init(void) #ifdef CONFIG_FEC_MXC struct iomuxc_mux_ctl *muxctl; - struct iomuxc_pad_ctl *padctl; u32 gpio_mux_mode2 = MX25_PIN_MUX_MODE(2); u32 gpio_mux_mode5 = MX25_PIN_MUX_MODE(5); @@ -144,7 +143,6 @@ int board_late_init(void) * FEC_RX_ERR: FEC_RX_ERR is ALT 2 mode of pin R2 */ muxctl = (struct iomuxc_mux_ctl *)IMX_IOPADMUX_BASE; - padctl = (struct iomuxc_pad_ctl *)IMX_IOPADCTL_BASE; writel(gpio_mux_mode5, &muxctl->pad_upll_bypclk); writel(gpio_mux_mode2, &muxctl->pad_uart2_cts); |