qemu-x86*_defconfig: Enable CONFIG_PCI_INIT_R
authorOvidiu Panait <ovidiu.panait@windriver.com>
Wed, 6 May 2020 17:38:47 +0000 (20:38 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 15 May 2020 21:12:41 +0000 (17:12 -0400)
Enable CONFIG_PCI_INIT_R for qemux86 and qemux86-64 pci enumeration during
boot in order to eliminate the custom preboot commands in
include/configs/qemu-x86.h.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
configs/qemu-x86_64_defconfig
configs/qemu-x86_defconfig
include/configs/qemu-x86.h

index 0cb123eb4a7ba4e01fcf0d6baaa31f4b6de60251..6f722c1d23fb65631233eb2a796642cab3443cba 100644 (file)
@@ -34,6 +34,7 @@ CONFIG_SPL_NET_SUPPORT=y
 CONFIG_SPL_PCI=y
 CONFIG_SPL_PCH_SUPPORT=y
 CONFIG_SPL_RTC_SUPPORT=y
+CONFIG_PCI_INIT_R=y
 CONFIG_CMD_CPU=y
 CONFIG_CMD_BOOTEFI_SELFTEST=y
 CONFIG_CMD_NVEDIT_EFI=y
index a562f213e1562cf45299f882162361d7ef06b53b..565f232b4f6335dba1d87bf805ccff0e3de8aa36 100644 (file)
@@ -18,6 +18,7 @@ CONFIG_BOOTARGS="root=/dev/sdb3 init=/sbin/init rootwait ro"
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_DISPLAY_BOARDINFO_LATE=y
 CONFIG_LAST_STAGE_INIT=y
+CONFIG_PCI_INIT_R=y
 CONFIG_CMD_CPU=y
 CONFIG_CMD_BOOTEFI_SELFTEST=y
 CONFIG_CMD_NVEDIT_EFI=y
index 49e307b4300696d00828ad2138fdd18090787369..52c33600b3cfb24f59c32a8f092c58fae0a67d0e 100644 (file)
@@ -22,8 +22,6 @@
 #include <config_distro_bootcmd.h>
 #include <configs/x86-common.h>
 
-#define CONFIG_PREBOOT "pci enum"
-
 #define CONFIG_SYS_MONITOR_LEN         (1 << 20)
 
 #define CONFIG_STD_DEVICES_SETTINGS    "stdin=serial,i8042-kbd\0" \