diff options
author | Calvin Johnson <calvin.johnson@nxp.com> | 2018-01-16 05:52:16 (GMT) |
---|---|---|
committer | Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> | 2018-01-17 12:33:14 (GMT) |
commit | 344badd84b079639ba51af9a5591df12fbe2cfa3 (patch) | |
tree | 5332a16ee4a4d32c8b2cd05cc226fc7b057b082e /include/configs/ls1012afrdm.h | |
parent | 3c8ddb20c3eff8b47807d09393ba92fc59b2a6c0 (diff) | |
download | u-boot-344badd84b079639ba51af9a5591df12fbe2cfa3.tar.xz |
configs: ls1012a: add pfe configuration for LS1012A
Add configurations for PFE.
Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com>
Signed-off-by: Anjaneyulu Jagarlmudi <anji.jagarlmudi@nxp.com>
Changes in v2:
-Moved SYS_LS_PFE_FW_ADDR from pfe Kconfig to board Kconfigs
-Add "pfe stop" to ls1012a rdb, frdm and 2g5rdb config files
Diffstat (limited to 'include/configs/ls1012afrdm.h')
-rw-r--r-- | include/configs/ls1012afrdm.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/configs/ls1012afrdm.h b/include/configs/ls1012afrdm.h index 297c057..f54021e 100644 --- a/include/configs/ls1012afrdm.h +++ b/include/configs/ls1012afrdm.h @@ -9,6 +9,13 @@ #include "ls1012a_common.h" +#ifdef CONFIG_FSL_PFE +#define EMAC1_PHY_ADDR 0x2 +#define EMAC2_PHY_ADDR 0x1 +#define CONFIG_PHYLIB +#define CONFIG_PHY_REALTEK +#endif + /* DDR */ #define CONFIG_DIMM_SLOTS_PER_CTLR 1 #define CONFIG_CHIP_SELECTS_PER_CTRL 1 @@ -68,7 +75,7 @@ "$kernel_addr $kernel_size && bootm $load_addr#$board\0" #undef CONFIG_BOOTCOMMAND -#define CONFIG_BOOTCOMMAND "run distro_bootcmd;run qspi_bootcmd" +#define CONFIG_BOOTCOMMAND "pfe stop;run distro_bootcmd;run qspi_bootcmd" #define CONFIG_CMD_MEMINFO #define CONFIG_CMD_MEMTEST |