summaryrefslogtreecommitdiff
path: root/arch/x86/cpu
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-01-06 22:14:18 +0800
committerSimon Glass <sjg@chromium.org>2015-01-13 07:25:03 -0800
commit9d74f03460a788e004fb1fb4cb53003d26f57298 (patch)
tree26d81c96eb097b6bc4df684278e68a26065740d8 /arch/x86/cpu
parentc57522f6564a68a0e0a82544afdb2f95737c1ccd (diff)
downloadu-boot-imx-9d74f03460a788e004fb1fb4cb53003d26f57298.zip
u-boot-imx-9d74f03460a788e004fb1fb4cb53003d26f57298.tar.gz
u-boot-imx-9d74f03460a788e004fb1fb4cb53003d26f57298.tar.bz2
x86: coreboot: Move coreboot-specific defines from coreboot.h to Kconfig
There are many places in the U-Boot source tree which refer to CONFIG_SYS_COREBOOT, CONFIG_CBMEM_CONSOLE and CONFIG_VIDEO_COREBOOT that is currently defined in coreboot.h. Move them to arch/x86/cpu/coreboot/Kconfig so that we can switch to board configuration file to build U-Boot later. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/cpu')
-rw-r--r--arch/x86/cpu/coreboot/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/x86/cpu/coreboot/Kconfig b/arch/x86/cpu/coreboot/Kconfig
new file mode 100644
index 0000000..e0e3c64
--- /dev/null
+++ b/arch/x86/cpu/coreboot/Kconfig
@@ -0,0 +1,15 @@
+if TARGET_COREBOOT
+
+config SYS_COREBOOT
+ bool
+ default y
+
+config CBMEM_CONSOLE
+ bool
+ default y
+
+config VIDEO_COREBOOT
+ bool
+ default y
+
+endif