[PATCH] sh: r2dplus: Add pci enum to preboot

Marek Vasut marek.vasut at gmail.com
Sun Aug 2 17:05:15 CEST 2020


The ethernet on r2dplus is on PCI bus, enumerate the PCI early
to get the ethernet operational.

Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
---
 configs/r2dplus_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configs/r2dplus_defconfig b/configs/r2dplus_defconfig
index 9e6331dc8a..53b7c2e05d 100644
--- a/configs/r2dplus_defconfig
+++ b/configs/r2dplus_defconfig
@@ -8,6 +8,8 @@ CONFIG_TARGET_R2DPLUS=y
 CONFIG_BOOTDELAY=-1
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="console=ttySC0,115200"
+CONFIG_USE_PREBOOT=y
+CONFIG_PREBOOT="pci enum"
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_IMLS=y
 CONFIG_CMD_DM=y
-- 
2.27.0



More information about the U-Boot mailing list