diff options
| author | York Sun <[email protected]> | 2017-04-25 08:39:52 -0700 |
|---|---|---|
| committer | York Sun <[email protected]> | 2017-05-23 09:24:43 -0700 |
| commit | c40e6f916982bfaa38aef642461cbcb5917f2744 (patch) | |
| tree | 5bbee10e99ac5fb5439a0670ab30107dce640a78 /include | |
| parent | 99b47c25d0e2bdc9ebbd685a87456e175581c695 (diff) | |
armv8: ls1043ardb: Make NET independent of FMan
This allows using PCIe NIC without enabling DPAA FMan.
Signed-off-by: York Sun <[email protected]>
CC: Mingkai Hu <[email protected]>
Acked-by: Mingkai Hu <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/ls1043ardb.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/include/configs/ls1043ardb.h b/include/configs/ls1043ardb.h index 5e570cd5e8d..5e5d1f647cc 100644 --- a/include/configs/ls1043ardb.h +++ b/include/configs/ls1043ardb.h @@ -250,16 +250,19 @@ /* FMan */ #ifndef SPL_NO_FMAN -#ifdef CONFIG_SYS_DPAA_FMAN -#define CONFIG_FMAN_ENET +#define AQR105_IRQ_MASK 0x40000000 + +#ifdef CONFIG_NET #define CONFIG_PHYLIB -#define CONFIG_PHYLIB_10G #define CONFIG_PHY_GIGE /* Include GbE speed/duplex detection */ - #define CONFIG_PHY_VITESSE #define CONFIG_PHY_REALTEK +#endif + +#ifdef CONFIG_SYS_DPAA_FMAN +#define CONFIG_FMAN_ENET +#define CONFIG_PHYLIB_10G #define CONFIG_PHY_AQUANTIA -#define AQR105_IRQ_MASK 0x40000000 #define RGMII_PHY1_ADDR 0x1 #define RGMII_PHY2_ADDR 0x2 |
