diff options
author | York Sun <york.sun@nxp.com> | 2016-05-26 13:59:03 -0700 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-06-03 14:12:48 -0700 |
commit | 931e8751af8ca9ff4395c3f033c5217d48f5698f (patch) | |
tree | 7859b6b72bbe40cc58ca4cc63ac42594281d2f62 /board/freescale/ls2080aqds/ls2080aqds.c | |
parent | 3378727d13dac410d8ef2d8426d4c9bfc4974405 (diff) | |
download | u-boot-imx-931e8751af8ca9ff4395c3f033c5217d48f5698f.zip u-boot-imx-931e8751af8ca9ff4395c3f033c5217d48f5698f.tar.gz u-boot-imx-931e8751af8ca9ff4395c3f033c5217d48f5698f.tar.bz2 |
board: ls2080ardb: qds: Fix compiling issue when FSL_MC_ENET not defined
U-Boot should continue to work without management complex (MC).
Fix compiling errors and warnings.
Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'board/freescale/ls2080aqds/ls2080aqds.c')
-rw-r--r-- | board/freescale/ls2080aqds/ls2080aqds.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/freescale/ls2080aqds/ls2080aqds.c b/board/freescale/ls2080aqds/ls2080aqds.c index b3bd40a..897793d 100644 --- a/board/freescale/ls2080aqds/ls2080aqds.c +++ b/board/freescale/ls2080aqds/ls2080aqds.c @@ -282,7 +282,9 @@ void fdt_fixup_board_enet(void *fdt) #ifdef CONFIG_OF_BOARD_SETUP int ft_board_setup(void *blob, bd_t *bd) { +#ifdef CONFIG_FSL_MC_ENET int err; +#endif u64 base[CONFIG_NR_DRAM_BANKS]; u64 size[CONFIG_NR_DRAM_BANKS]; |