summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2019-02-10 16:38:53 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-07-26 13:00:48 +0000
commit150a61e103c9c8001a0fc7905c02d0c065b7f126 (patch)
treee36e2fbcb1f72a169a6c03438a2f43f466104245
parentef3caf053e5491e80ca9dcbef9d682ab43e217b1 (diff)
arch/ppc64: Make PPC64 stages select ARCH_PPC64
Also don't define the default as this result in spurious lines in the .config. This also cleans up an unused Kconfig file. In the generated config.h CPU_QEMU_POWER8 is gone as expected and ARCH_RAMSTAGE_PPC64 moves a few lines, but the value stays the same. Change-Id: I70b64e49e1ce07b8f30d9bbc493272bdfb3bb0bf Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31314 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--src/arch/ppc64/Kconfig11
-rw-r--r--src/mainboard/emulation/qemu-power8/Kconfig4
2 files changed, 6 insertions, 9 deletions
diff --git a/src/arch/ppc64/Kconfig b/src/arch/ppc64/Kconfig
index 9e37bfc15f..0699e910ce 100644
--- a/src/arch/ppc64/Kconfig
+++ b/src/arch/ppc64/Kconfig
@@ -1,25 +1,20 @@
config ARCH_PPC64
bool
- default n
config ARCH_BOOTBLOCK_PPC64
bool
- default n
select ARCH_PPC64
select BOOTBLOCK_CUSTOM
select C_ENVIRONMENT_BOOTBLOCK
- select ARCH_VERSTAGE_PPC64
- select ARCH_ROMSTAGE_PPC64
- select ARCH_RAMSTAGE_PPC64
config ARCH_VERSTAGE_PPC64
bool
- default n
+ select ARCH_PPC64
config ARCH_ROMSTAGE_PPC64
bool
- default n
+ select ARCH_PPC64
config ARCH_RAMSTAGE_PPC64
bool
- default n
+ select ARCH_PPC64
diff --git a/src/mainboard/emulation/qemu-power8/Kconfig b/src/mainboard/emulation/qemu-power8/Kconfig
index c3a9904986..0496178bd9 100644
--- a/src/mainboard/emulation/qemu-power8/Kconfig
+++ b/src/mainboard/emulation/qemu-power8/Kconfig
@@ -22,8 +22,10 @@ config BOARD_SPECIFIC_OPTIONS
select CPU_QEMU_POWER8
select BOARD_ROMSIZE_KB_4096
select ARCH_BOOTBLOCK_PPC64
+ select ARCH_VERSTAGE_PPC64
+ select ARCH_ROMSTAGE_PPC64
+ select ARCH_RAMSTAGE_PPC64
select HAVE_UART_SPECIAL
- select ARCH_PPC64
select BOOT_DEVICE_NOT_SPI_FLASH
select MISSING_BOARD_RESET