Add missing Kconfig optional dependencies to avoid the
following runtime error:

  qemu-system-aarch64: -device 
loader,force-raw=on,addr=0x400000000,file=./u-boot.bin: 'loader' is not a valid 
device model name
  qemu-system-aarch64: -device e1000e,netdev=net1,bus=pcie.2: 'e1000e' is not a 
valid device model name

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
---
 hw/arm/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
index 6f5b2add66e..5869f0f9e89 100644
--- a/hw/arm/Kconfig
+++ b/hw/arm/Kconfig
@@ -533,7 +533,9 @@ config ASPEED_SOC
     bool
     default y
     depends on TCG && ARM
+    imply GENERIC_LOADER
     imply PCI_DEVICES
+    imply E1000E_PCI_EXPRESS
     select DS1338
     select FTGMAC100
     select I2C
-- 
2.53.0


Reply via email to