From 150a61e103c9c8001a0fc7905c02d0c065b7f126 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Sun, 10 Feb 2019 16:38:53 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/31314 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes Reviewed-by: Angel Pons --- src/arch/ppc64/Kconfig | 11 +++-------- src/mainboard/emulation/qemu-power8/Kconfig | 4 +++- 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 -- cgit v1.2.3