summaryrefslogtreecommitdiff
path: root/include/configs/qemu-ppce500.h
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2021-02-25 12:22:43 +0300
committerPriyanka Jain <priyanka.jain@nxp.com>2021-03-05 07:55:43 +0300
commit8ee401670a53307e7e0e2754f09e0126bfaa11da (patch)
tree3b663b70ae99f18d986ee6ce918cfe3f8a8e4366 /include/configs/qemu-ppce500.h
parent8461ee51151e153045eb3ce97eb334a1921e1d5c (diff)
downloadu-boot-8ee401670a53307e7e0e2754f09e0126bfaa11da.tar.xz
ppc: qemu: Switch over to use DM ETH and PCI
At present the board supports non-DM version PCI and E1000 drivers. Switch over to use DM ETH and PCI by: - Rewrite the PCI address map functions using DM APIs - Enable CONFIG_MISC_INIT_R to do the PCI initialization and address map - Drop unnecessary ad-hoc config macros - Remove board_eth_init() in the board codes Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'include/configs/qemu-ppce500.h')
-rw-r--r--include/configs/qemu-ppce500.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/configs/qemu-ppce500.h b/include/configs/qemu-ppce500.h
index feac6ef8fa..b1ee810f01 100644
--- a/include/configs/qemu-ppce500.h
+++ b/include/configs/qemu-ppce500.h
@@ -13,8 +13,6 @@
#define CONFIG_SYS_RAMBOOT
-#define CONFIG_PCI1 1 /* PCI controller 1 */
-#define CONFIG_FSL_PCI_INIT /* Use common FSL init code */
#define CONFIG_SYS_PCI_64BIT /* enable 64-bit PCI resources */
#define CONFIG_ENABLE_36BIT_PHYS
@@ -73,17 +71,6 @@ extern unsigned long long get_phys_ccsrbar_addr_early(void);
#define CONFIG_SYS_MONITOR_LEN (512 * 1024)
#define CONFIG_SYS_MALLOC_LEN (4 * 1024 * 1024)
-/*
- * General PCI
- * Memory space is mapped 1-1, but I/O space must start from 0.
- */
-
-#ifdef CONFIG_PCI
-#define CONFIG_PCI_INDIRECT_BRIDGE
-
-#define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
-#endif /* CONFIG_PCI */
-
#define CONFIG_LBA48
/*