ppc: qemu: Switch over to use DM ETH and PCI
authorBin Meng <bmeng.cn@gmail.com>
Thu, 25 Feb 2021 09:22:43 +0000 (17:22 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Fri, 5 Mar 2021 04:55:43 +0000 (10:25 +0530)
commit8ee401670a53307e7e0e2754f09e0126bfaa11da
tree3b663b70ae99f18d986ee6ce918cfe3f8a8e4366
parent8461ee51151e153045eb3ce97eb334a1921e1d5c
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>
board/freescale/qemu-ppce500/qemu-ppce500.c
configs/qemu-ppce500_defconfig
include/configs/qemu-ppce500.h