Kconfig: Convert SYS_EARLY_PCI_INIT to Kconfig
PATCH v2 1/2 Kconfig: Convert SYS_EARLY_PCI_INIT to Kconfig
The CONFIG_SYS_EARLY_PCI_INIT symbol is currently not supported by Kconfig.
Make it a Kconfig symbol so that users could select it via defconfig.
---
Changes since v1:
- Only collected Tom's RB tag.
common/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+)
common/Kconfig +7 -0
@@ -833,6 +833,13 @@ config PCI_INIT_R case of DM PCI-based Ethernet devices, which will not be detected without having the enumeration performed earlier. +config SYS_EARLY_PCI_INIT + bool "Enumerate PCI buses early during init" + depends on PCI + help + Do early PCI configuration before the eMMC gets initialised, + because PCI resources are crucial for eMMC access on some boards. + config RESET_PHY_R bool "Reset ethernet PHY during init" help
Signature · 1 line
2.34.1
PATCH v2 2/2 qemu_arm: Select CONFIG_SYS_EARLY_PCI_INIT
Select CONFIG_SYS_EARLY_PCI_INIT so that eMMC emulation can work.
---
Changes since v1:
- Select via imply in board/emulation/qemu-arm/Kconfig. (Tom)
board/emulation/qemu-arm/Kconfig | 1 + 1 file changed, 1 insertion(+)
board/emulation/qemu-arm/Kconfig +1 -0
@@ -8,6 +8,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy select HAS_CUSTOM_SYS_INIT_SP_ADDR select QFW if ACPI select QFW_MMIO if CMD_QFW + imply SYS_EARLY_PCI_INIT imply VIRTIO_MMIO imply VIRTIO_PCI imply VIRTIO_NET
Signature · 1 line
2.34.1
Re: [PATCH v2 2/2] qemu_arm: Select CONFIG_SYS_EARLY_PCI_INIT
Quoted 4 lines · Fabio Estevam
Select
CONFIG_SYS_EARLY_PCI_INITso that eMMC emulation can work.Signed-off-by Fabio Estevam <[email protected]>
Signature · 1 line
Tom
Re: [PATCH v2 2/2] qemu_arm: Select CONFIG_SYS_EARLY_PCI_INIT
In reply to Fabio EstevamQuoted 16 lines · Fabio Estevam
Select
CONFIG_SYS_EARLY_PCI_INITso that eMMC emulation can work.Signed-off-by Fabio Estevam <[email protected]>---
Changes since v1:
- Select via imply in board/emulation/qemu-arm/Kconfig. (Tom)board/emulation/qemu-arm/Kconfig | 1 + 1 file changed, 1 insertion(+)board/emulation/qemu-arm/Kconfig +0
-0
board/emulation/qemu-arm/Kconfig config BOARD_SPECIFIC_OPTIONS # dummy · line 14
Quoted 7 lines
board/emulation/qemu-arm/Kconfig +1
-0@@ -8,6 +8,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy select HAS_CUSTOM_SYS_INIT_SP_ADDR select QFW if ACPI select QFW_MMIO if CMD_QFW + imply SYS_EARLY_PCI_INIT imply VIRTIO_MMIO imply VIRTIO_PCI imply VIRTIO_NET
For both:
Thanks!
Jan
Signature · 2 lines
Siemens AG, Foundational Technologies Linux Expert Center
Quoted 6 lines · Fabio Estevam
The
CONFIG_SYS_EARLY_PCI_INITsymbol is currently not supported byKconfig.Make it a
Kconfigsymbol so that users could select it via defconfig.
Applied to u-boot/next, thanks!
[1/2] Kconfig: Convert SYS_EARLY_PCI_INIT to Kconfig
commit: 0b0641470b3037e7e212b40c7101c1269653f86e
[2/2] qemu_arm: Select CONFIG_SYS_EARLY_PCI_INIT
commit: 51214ffcc543dde83ad687c35cb2de61a34e0602Signature · 1 line
Tom