x86: Kconfig: Move platform options forward
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 2/5 x86: Kconfig: Move platform options forward
Move platform-specific options under in arch/x86/Kconfig forward right after the board-specific options but before any architecture-specific options. When it comes to the same Kconfig option, board-specific one takes take the highest precedence, then platform-specific one, and finally architecture-specific one.
---
arch/x86/Kconfig | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-)
arch/x86/Kconfig +9 -10
@@ -30,6 +30,15 @@ source "board/coreboot/Kconfig" source "board/google/Kconfig" source "board/intel/Kconfig" +# platform-specific options below +source "arch/x86/cpu/baytrail/Kconfig" +source "arch/x86/cpu/coreboot/Kconfig" +source "arch/x86/cpu/ivybridge/Kconfig" +source "arch/x86/cpu/quark/Kconfig" +source "arch/x86/cpu/queensbay/Kconfig" + +# architecture-specific options below + config DM_SPI default y
@@ -358,16 +367,6 @@ config FSP_TEMP_RAM_ADDR Stack top address which is used in FspInit after DRAM is ready and CAR is disabled. -source "arch/x86/cpu/baytrail/Kconfig" - -source "arch/x86/cpu/coreboot/Kconfig" - -source "arch/x86/cpu/ivybridge/Kconfig" - -source "arch/x86/cpu/quark/Kconfig" - -source "arch/x86/cpu/queensbay/Kconfig" - config TSC_CALIBRATION_BYPASS bool "Bypass Time-Stamp Counter (TSC) calibration" default n
Signature · 1 line
1.8.2.1
PATCH 2/5 x86: Kconfig: Move platform options forward
Quoted 11 lines · Bin Meng
Move platform-specific options under in
arch/x86/Kconfigforward right after the board-specific options but before any architecture-specific options. When it comes to the sameKconfigoption, board-specific one takes take the highest precedence, then platform-specific one, and finally architecture-specific one.Signed-off-by Bin Meng <[email protected]>---
arch/x86/Kconfig | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-)
PATCH 2/5 x86: Kconfig: Move platform options forward
Quoted 7 lines · Simon Glass
Quoted 6 lines · Bin Meng
Move platform-specific options under in
arch/x86/Kconfigforward right after the board-specific options but before any architecture-specific options. When it comes to the sameKconfigoption, board-specific one takes take the highest precedence, then platform-specific one, and finally architecture-specific one.
Quoted 7 lines
Quoted 5 lines
Signed-off-by Bin Meng <[email protected]>---
arch/x86/Kconfig | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-)Acked-by Simon Glass <[email protected]>
Applied to u-boot-x86, thanks!
PATCH 3/5 x86: Kconfig: MARK_GRAPHICS_MEM_WRCOMB cosmetics
In reply to a message not in the archiveRemove the ending period of the MARK_GRAPHICS_MEM_WRCOMB option. Also fix the indention of its help text.
---
arch/x86/Kconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
arch/x86/Kconfig +4 -4
@@ -181,12 +181,12 @@ config X86_RAMTEST detecting obvious failures. config MARK_GRAPHICS_MEM_WRCOMB - bool "Mark graphics memory as write-combining." + bool "Mark graphics memory as write-combining" default n help - The graphics performance may increase if the graphics - memory is set as write-combining cache type. This option - enables marking the graphics memory as write-combining. + The graphics performance may increase if the graphics + memory is set as write-combining cache type. This option + enables marking the graphics memory as write-combining. menu "Display"
Signature · 1 line
1.8.2.1
PATCH 3/5 x86: Kconfig: MARK_GRAPHICS_MEM_WRCOMB cosmetics
Quoted 8 lines · Bin Meng
Remove the ending period of the
MARK_GRAPHICS_MEM_WRCOMBoption. Also fix the indention of its help text.Signed-off-by Bin Meng <[email protected]>---
arch/x86/Kconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
PATCH 3/5 x86: Kconfig: MARK_GRAPHICS_MEM_WRCOMB cosmetics
Quoted 11 lines · Simon Glass
Quoted 8 lines · Bin Meng
Remove the ending period of the
MARK_GRAPHICS_MEM_WRCOMBoption. Also fix the indention of its help text.Signed-off-by Bin Meng <[email protected]>---
arch/x86/Kconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)Acked-by Simon Glass <[email protected]>
Applied to u-boot-x86, thanks!
PATCH 4/5 x86: Kconfig: Move DM_SPI & DM_SPI_FLASH to arch/Kconfig
In reply to a message not in the archiveSince all x86 boards have been converted to use DM_SPI and DM_SPI_FLASH, move them to arch/Kconfig x86 section.
---
arch/Kconfig | 2 ++ arch/x86/Kconfig | 6 ------ 2 files changed, 2 insertions(+), 6 deletions(-)
arch/Kconfig +2 -0
@@ -93,6 +93,8 @@ config X86 select DM select DM_SERIAL select DM_GPIO + select DM_SPI + select DM_SPI_FLASH endchoice
arch/x86/Kconfig +0 -6
@@ -39,12 +39,6 @@ source "arch/x86/cpu/queensbay/Kconfig" # architecture-specific options below -config DM_SPI - default y - -config DM_SPI_FLASH - default y - config SYS_MALLOC_F_LEN default 0x800
Signature · 1 line
1.8.2.1
PATCH 4/5 x86: Kconfig: Move DM_SPI & DM_SPI_FLASH to arch/Kconfig
Quoted 10 lines · Bin Meng
Since all x86 boards have been converted to use
DM_SPIandDM_SPI_FLASH, move them toarch/Kconfigx86 section.Signed-off-by Bin Meng <[email protected]>---
arch/Kconfig | 2 ++ arch/x86/Kconfig | 6 ------ 2 files changed, 2 insertions(+), 6 deletions(-)
PATCH 4/5 x86: Kconfig: Move DM_SPI & DM_SPI_FLASH to arch/Kconfig
Quoted 7 lines · Simon Glass
Quoted 6 lines · Bin Meng
Since all x86 boards have been converted to use
DM_SPIandDM_SPI_FLASH, move them toarch/Kconfigx86 section.Signed-off-by Bin Meng <[email protected]>---
Quoted 6 lines
Quoted 4 lines
arch/Kconfig | 2 ++ arch/x86/Kconfig | 6 ------ 2 files changed, 2 insertions(+), 6 deletions(-)Acked-by Simon Glass <[email protected]>
Applied to u-boot-x86, thanks!
PATCH 5/5 x86: Kconfig: Remove deprecated CONFIG_SYS_EXTRA_OPTIONS
In reply to a message not in the archiveCurrently all x86 boards still use CONFIG_SYS_EXTRA_OPTIONS to define the text base address. Since it is deprecated, just remove it and use CONFIG_SYS_TEXT_BASE directly.
---
Kconfig | 2 +- board/coreboot/coreboot/Kconfig | 3 +++ board/google/chromebook_link/Kconfig | 3 +++ board/google/chromebox_panther/Kconfig | 3 +++ board/intel/crownbay/Kconfig | 3 +++ board/intel/galileo/Kconfig | 3 +++ board/intel/minnowmax/Kconfig | 3 +++ configs/chromebook_link_defconfig | 1 - configs/chromebox_panther_defconfig | 1 - configs/coreboot-x86_defconfig | 1 - configs/crownbay_defconfig | 1 - configs/galileo_defconfig | 1 - configs/minnowmax_defconfig | 1 - 13 files changed, 19 insertions(+), 7 deletions(-)
Kconfig +1 -1
@@ -178,7 +178,7 @@ config SYS_EXTRA_OPTIONS new boards should not use this option. config SYS_TEXT_BASE - depends on SPARC || ARC + depends on SPARC || ARC || X86 hex "Text Base" help TODO: Move CONFIG_SYS_TEXT_BASE for all the architecture
board/coreboot/coreboot/Kconfig +3 -0
@@ -9,6 +9,9 @@ config SYS_VENDOR config SYS_SOC default "coreboot" +config SYS_TEXT_BASE + default 0x01110000 + comment "coreboot-specific options" config SYS_CONFIG_NAME
board/google/chromebook_link/Kconfig +3 -0
@@ -12,6 +12,9 @@ config SYS_SOC config SYS_CONFIG_NAME default "chromebook_link" +config SYS_TEXT_BASE + default 0xfff00000 + config BOARD_SPECIFIC_OPTIONS # dummy def_bool y select X86_RESET_VECTOR
board/google/chromebox_panther/Kconfig +3 -0
@@ -12,6 +12,9 @@ config SYS_SOC config SYS_CONFIG_NAME default "chromebox_panther" +config SYS_TEXT_BASE + default 0xfff00000 + # Panther actually uses haswell, not ivybridge, so this is just a placeholder config BOARD_SPECIFIC_OPTIONS # dummy def_bool y
board/intel/crownbay/Kconfig +3 -0
@@ -12,6 +12,9 @@ config SYS_SOC config SYS_CONFIG_NAME default "crownbay" +config SYS_TEXT_BASE + default 0xfff00000 + config BOARD_SPECIFIC_OPTIONS # dummy def_bool y select X86_RESET_VECTOR
board/intel/galileo/Kconfig +3 -0
@@ -12,6 +12,9 @@ config SYS_SOC config SYS_CONFIG_NAME default "galileo" +config SYS_TEXT_BASE + default 0xfff10000 + config BOARD_SPECIFIC_OPTIONS # dummy def_bool y select X86_RESET_VECTOR
board/intel/minnowmax/Kconfig +3 -0
@@ -12,6 +12,9 @@ config SYS_SOC config SYS_CONFIG_NAME default "minnowmax" +config SYS_TEXT_BASE + default 0xfff00000 + config BOARD_SPECIFIC_OPTIONS # dummy def_bool y select X86_RESET_VECTOR
configs/chromebook_link_defconfig +0 -1
@@ -1,4 +1,3 @@ -CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0xfff00000" CONFIG_X86=y CONFIG_VENDOR_GOOGLE=y CONFIG_TARGET_CHROMEBOOK_LINK=y
configs/chromebox_panther_defconfig +0 -1
@@ -1,4 +1,3 @@ -CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0xfff00000" CONFIG_X86=y CONFIG_VENDOR_GOOGLE=y CONFIG_TARGET_CHROMEBOX_PANTHER=y
configs/coreboot-x86_defconfig +0 -1
@@ -1,4 +1,3 @@ -CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0x01110000" CONFIG_X86=y CONFIG_VENDOR_COREBOOT=y CONFIG_TARGET_COREBOOT=y
configs/crownbay_defconfig +0 -1
@@ -1,4 +1,3 @@ -CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0xfff00000" CONFIG_X86=y CONFIG_VENDOR_INTEL=y CONFIG_TARGET_CROWNBAY=y
configs/galileo_defconfig +0 -1
@@ -1,4 +1,3 @@ -CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0xfff10000" CONFIG_X86=y CONFIG_VENDOR_INTEL=y CONFIG_TARGET_GALILEO=y
configs/minnowmax_defconfig +0 -1
@@ -1,4 +1,3 @@ -CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0xfff00000" CONFIG_X86=y CONFIG_VENDOR_INTEL=y CONFIG_TARGET_MINNOWMAX=y
Signature · 1 line
1.8.2.1
PATCH 5/5 x86: Kconfig: Remove deprecated CONFIG_SYS_EXTRA_OPTIONS
Quoted 7 lines · Bin Meng
Currently all x86 boards still use
CONFIG_SYS_EXTRA_OPTIONSto define the text base address. Since it is deprecated, just remove it and useCONFIG_SYS_TEXT_BASEdirectly.Signed-off-by Bin Meng <[email protected]>---
Quoted 14 lines
Kconfig | 2 +- board/coreboot/coreboot/Kconfig | 3 +++ board/google/chromebook_link/Kconfig | 3 +++ board/google/chromebox_panther/Kconfig | 3 +++ board/intel/crownbay/Kconfig | 3 +++ board/intel/galileo/Kconfig | 3 +++ board/intel/minnowmax/Kconfig | 3 +++ configs/chromebook_link_defconfig | 1 - configs/chromebox_panther_defconfig | 1 - configs/coreboot-x86_defconfig | 1 - configs/crownbay_defconfig | 1 - configs/galileo_defconfig | 1 - configs/minnowmax_defconfig | 1 - 13 files changed, 19 insertions(+), 7 deletions(-)
PATCH 5/5 x86: Kconfig: Remove deprecated CONFIG_SYS_EXTRA_OPTIONS
Quoted 23 lines · Simon Glass
Quoted 7 lines · Bin Meng
Currently all x86 boards still use
CONFIG_SYS_EXTRA_OPTIONSto define the text base address. Since it is deprecated, just remove it and useCONFIG_SYS_TEXT_BASEdirectly.Signed-off-by Bin Meng <[email protected]>---
Quoted 14 lines
Kconfig | 2 +- board/coreboot/coreboot/Kconfig | 3 +++ board/google/chromebook_link/Kconfig | 3 +++ board/google/chromebox_panther/Kconfig | 3 +++ board/intel/crownbay/Kconfig | 3 +++ board/intel/galileo/Kconfig | 3 +++ board/intel/minnowmax/Kconfig | 3 +++ configs/chromebook_link_defconfig | 1 - configs/chromebox_panther_defconfig | 1 - configs/coreboot-x86_defconfig | 1 - configs/crownbay_defconfig | 1 - configs/galileo_defconfig | 1 - configs/minnowmax_defconfig | 1 - 13 files changed, 19 insertions(+), 7 deletions(-)
Quoted 1 line
Acked-by Simon Glass <[email protected]>
Applied to u-boot-x86, thanks!