aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-06-27 17:51:07 -0600
committerBin Meng <bmeng.cn@gmail.com>2021-07-15 19:50:21 +0800
commit4dfe4b44cc7f0df78d9013619ec6c411e7b60bbd (patch)
tree3e9f2b840aa23fee632e398f1f05100683e235d1 /board
parentc5c62155c542368269d7a0e968401e76abcc2490 (diff)
downloadu-boot-4dfe4b44cc7f0df78d9013619ec6c411e7b60bbd.zip
u-boot-4dfe4b44cc7f0df78d9013619ec6c411e7b60bbd.tar.gz
u-boot-4dfe4b44cc7f0df78d9013619ec6c411e7b60bbd.tar.bz2
x86: coreboot: Use vendor in the Kconfig
Use VENDOR_COREBOOT instead of TARGET_COREBOOT so we can have multiple coreboot boards, sharing options. Only SYS_CONFIG_NAME needs to be defined TARGET_COREBOOT. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'board')
-rw-r--r--board/coreboot/coreboot/Kconfig12
1 files changed, 8 insertions, 4 deletions
diff --git a/board/coreboot/coreboot/Kconfig b/board/coreboot/coreboot/Kconfig
index 5bd6465..05e9b3b 100644
--- a/board/coreboot/coreboot/Kconfig
+++ b/board/coreboot/coreboot/Kconfig
@@ -1,4 +1,4 @@
-if TARGET_COREBOOT
+if VENDOR_COREBOOT
config SYS_BOARD
default "coreboot"
@@ -9,9 +9,6 @@ config SYS_VENDOR
config SYS_SOC
default "coreboot"
-config SYS_CONFIG_NAME
- default "coreboot"
-
config SYS_TEXT_BASE
default 0x01110000
@@ -31,4 +28,11 @@ config SYS_CAR_SIZE
help
This option specifies the board specific Cache-As-RAM (CAR) size.
+endif # CONFIG_VENDOR_COREBOOT
+
+if TARGET_COREBOOT
+
+config SYS_CONFIG_NAME
+ default "coreboot"
+
endif