Enable PCI express on MX6 Sabrelite. Signed-off-by: Marek Vasut <ma...@denx.de> Cc: Albert Aribaud <albert.u.b...@aribaud.net> Cc: Eric Nelson <eric.nel...@boundarydevices.com> Cc: Fabio Estevam <fabio.este...@freescale.com> Cc: Stefano Babic <sba...@denx.de> --- board/boundary/nitrogen6x/nitrogen6x.c | 7 ++++++- include/configs/nitrogen6x.h | 11 +++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c index 1712908..46be51e 100644 --- a/board/boundary/nitrogen6x/nitrogen6x.c +++ b/board/boundary/nitrogen6x/nitrogen6x.c @@ -369,7 +369,12 @@ int board_eth_init(bd_t *bis) free(bus); } #endif - return 0; + +#ifdef CONFIG_PCI + ret = pci_eth_init(bis); +#endif + + return ret; } static void setup_buttons(void) diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h index 3454b86..ccde896 100644 --- a/include/configs/nitrogen6x.h +++ b/include/configs/nitrogen6x.h @@ -355,4 +355,15 @@ #define CONFIG_SUPPORT_RAW_INITRD #define CONFIG_CMD_FS_GENERIC +/* + * PCI express + */ +#define CONFIG_CMD_PCI +#ifdef CONFIG_CMD_PCI +#define CONFIG_PCI +#define CONFIG_PCI_PNP +#define CONFIG_PCI_SCAN_SHOW +#define CONFIG_PCIE_IMX +#endif + #endif /* __CONFIG_H */ -- 1.8.4.rc3 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot