x86: Kconfig: Move platform options forward
authorBin Meng <bmeng.cn@gmail.com>
Mon, 27 Apr 2015 15:22:25 +0000 (23:22 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 30 Apr 2015 00:51:50 +0000 (18:51 -0600)
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.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/Kconfig

index c3cc144d9ced3bb1c213c13846ea6c6455261f6b..43062cdf6c721c27ec34fde08d6c3b990a2e7dab 100644 (file)
@@ -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