
22 Feb
2021
22 Feb
'21
10:12 a.m.
-----Original Message----- From: Bin Meng bmeng.cn@gmail.com Sent: Thursday, February 18, 2021 9:28 PM To: Simon Glass sjg@chromium.org; Alexander Graf agraf@csgraf.de; Priyanka Jain priyanka.jain@nxp.com Cc: U-Boot Mailing List u-boot@lists.denx.de; Tom Rini trini@konsulko.com Subject: [PATCH v2 22/38] 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
(no changes since v1)
board/freescale/qemu-ppce500/qemu-ppce500.c | 111 ++++++----------------
configs/qemu-ppce500_defconfig | 4 +- include/configs/qemu-ppce500.h | 13 ---- 3 files changed, 24 insertions(+), 104 deletions(-)
Reviewed-by: Priyanka Jain priyanka.jain@nxp.com