diff options
author | Santan Kumar <santan.kumar@nxp.com> | 2017-05-05 15:42:29 +0530 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2017-06-01 19:57:17 -0700 |
commit | 1f55a93802ab1522e4f479d1d2730158e26b3567 (patch) | |
tree | 544ff5d8c4e01350c06b03b06dc2c9921aeebdcd /board/freescale/ls2080a | |
parent | faed6bde11e11156fd8ca0f60edebcfb10b5a7ff (diff) | |
download | u-boot-1f55a93802ab1522e4f479d1d2730158e26b3567.tar.gz u-boot-1f55a93802ab1522e4f479d1d2730158e26b3567.tar.xz u-boot-1f55a93802ab1522e4f479d1d2730158e26b3567.zip |
armv8: ls2080aqds: Add support for SD boot
Signed-off-by: Santan Kumar <santan.kumar@nxp.com>
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
Signed-off-by: Abhimanyu Saini <abhimanyu.saini@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'board/freescale/ls2080a')
-rw-r--r-- | board/freescale/ls2080a/ls2080a.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/freescale/ls2080a/ls2080a.c b/board/freescale/ls2080a/ls2080a.c index ecf4bd67ed..41417e9dc6 100644 --- a/board/freescale/ls2080a/ls2080a.c +++ b/board/freescale/ls2080a/ls2080a.c @@ -64,13 +64,13 @@ int board_eth_init(bd_t *bis) error = smc91111_initialize(0, CONFIG_SMC91111_BASE); #endif -#ifdef CONFIG_FSL_MC_ENET +#if defined(CONFIG_FSL_MC_ENET) && !defined(CONFIG_SPL_BUILD) error = cpu_eth_init(bis); #endif return error; } -#ifdef CONFIG_FSL_MC_ENET +#if defined(CONFIG_FSL_MC_ENET) && !defined(CONFIG_SPL_BUILD) void fdt_fixup_board_enet(void *fdt) { int offset; @@ -128,7 +128,7 @@ int ft_board_setup(void *blob, bd_t *bd) fdt_fixup_memory_banks(blob, base, size, 2); -#ifdef CONFIG_FSL_MC_ENET +#if defined(CONFIG_FSL_MC_ENET) && !defined(CONFIG_SPL_BUILD) fdt_fixup_board_enet(blob); #endif |