diff options
author | Ye Li <ye.li@nxp.com> | 2016-03-04 16:43:35 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2016-03-25 15:04:06 +0800 |
commit | b646262f1f201e11e08968ddf88aeb8ab41fcf21 (patch) | |
tree | f5453f98de9ac7445e2407763275dd41cc71c1b6 /include | |
parent | 8807bf82daeba98802d5a49b4a7d8c3ebcc9c988 (diff) | |
download | u-boot-imx-b646262f1f201e11e08968ddf88aeb8ab41fcf21.zip u-boot-imx-b646262f1f201e11e08968ddf88aeb8ab41fcf21.tar.gz u-boot-imx-b646262f1f201e11e08968ddf88aeb8ab41fcf21.tar.bz2 |
MLK-12452-3 mx6sxsabresd: Add secondary enet support
Add configurations and board codes for second enet.
Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/mx6sxsabresd.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h index f7d7713..03cffbf 100644 --- a/include/configs/mx6sxsabresd.h +++ b/include/configs/mx6sxsabresd.h @@ -194,8 +194,15 @@ #define CONFIG_FEC_MXC #define CONFIG_MII +#define CONFIG_FEC_ENET_DEV 0 + +#if (CONFIG_FEC_ENET_DEV == 0) #define IMX_FEC_BASE ENET_BASE_ADDR #define CONFIG_FEC_MXC_PHYADDR 0x1 +#elif (CONFIG_FEC_ENET_DEV == 1) +#define IMX_FEC_BASE ENET2_BASE_ADDR +#define CONFIG_FEC_MXC_PHYADDR 0x2 +#endif #define CONFIG_FEC_XCV_TYPE RGMII #define CONFIG_ETHPRIME "FEC" |