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/ls2080aqds/eth.c | |
parent | faed6bde11e11156fd8ca0f60edebcfb10b5a7ff (diff) | |
download | u-boot-1f55a93802ab1522e4f479d1d2730158e26b3567.tar.gz |
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/ls2080aqds/eth.c')
-rw-r--r-- | board/freescale/ls2080aqds/eth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/ls2080aqds/eth.c b/board/freescale/ls2080aqds/eth.c index 8c44aacdba..defcac5263 100644 --- a/board/freescale/ls2080aqds/eth.c +++ b/board/freescale/ls2080aqds/eth.c @@ -23,7 +23,7 @@ #define MC_BOOT_ENV_VAR "mcinitcmd" -#ifdef CONFIG_FSL_MC_ENET +#if defined(CONFIG_FSL_MC_ENET) && !defined(CONFIG_SPL_BUILD) /* - In LS2080A there are only 16 SERDES lanes, spread across 2 SERDES banks. * Bank 1 -> Lanes A, B, C, D, E, F, G, H * Bank 2 -> Lanes A,B, C, D, E, F, G, H @@ -835,7 +835,7 @@ void ls2080a_handle_phy_interface_xsgmii(int i) int board_eth_init(bd_t *bis) { int error; -#ifdef CONFIG_FSL_MC_ENET +#if defined(CONFIG_FSL_MC_ENET) && !defined(CONFIG_SPL_BUILD) struct ccsr_gur __iomem *gur = (void *)CONFIG_SYS_FSL_GUTS_ADDR; int serdes1_prtcl = (in_le32(&gur->rcwsr[28]) & FSL_CHASSIS3_RCWSR28_SRDS1_PRTCL_MASK) |