summaryrefslogtreecommitdiff
path: root/board/coreboot/Kconfig
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-04-27 23:22:24 +0800
committerSimon Glass <sjg@chromium.org>2015-04-29 18:51:50 -0600
commit65c4ac0a831d1a8640602ae966f913ec811843eb (patch)
treebd0fec9dc7f2707965742a98df126b6f07f0fb86 /board/coreboot/Kconfig
parentf82a7840f11d008f06b8c8d5578d2f4b8eeaa285 (diff)
downloadu-boot-imx-65c4ac0a831d1a8640602ae966f913ec811843eb.zip
u-boot-imx-65c4ac0a831d1a8640602ae966f913ec811843eb.tar.gz
u-boot-imx-65c4ac0a831d1a8640602ae966f913ec811843eb.tar.bz2
x86: Kconfig: Divide the target selection to vendor/model
Let arch/x86/Kconfig prompt board vendor first, then select the board model under that vendor. This way arch/x86/Kconfig only needs concern board vendor and leave the supported target list to board/<vendor>/Kconfig. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/coreboot/Kconfig')
-rw-r--r--board/coreboot/Kconfig26
1 files changed, 26 insertions, 0 deletions
diff --git a/board/coreboot/Kconfig b/board/coreboot/Kconfig
new file mode 100644
index 0000000..dc9b70f
--- /dev/null
+++ b/board/coreboot/Kconfig
@@ -0,0 +1,26 @@
+#
+# Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
+#
+# SPDX-License-Identifier: GPL-2.0+
+#
+
+if VENDOR_COREBOOT
+
+choice
+ prompt "Mainboard model"
+
+config TARGET_COREBOOT
+ bool "coreboot"
+ help
+ This target is used for running U-Boot on top of coreboot. In
+ this case coreboot does the early inititalisation, and U-Boot
+ takes over once the RAM, video and CPU are fully running.
+ U-Boot is loaded as a fallback payload from coreboot, in
+ coreboot terminology. This method was used for the Chromebook
+ Pixel when launched.
+
+endchoice
+
+source "board/coreboot/coreboot/Kconfig"
+
+endif