mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-26 12:27:12 +00:00
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>
This commit is contained in:
parent
c5c62155c5
commit
4dfe4b44cc
2 changed files with 9 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
if TARGET_COREBOOT
|
if VENDOR_COREBOOT
|
||||||
|
|
||||||
config SYS_COREBOOT
|
config SYS_COREBOOT
|
||||||
bool
|
bool
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
if TARGET_COREBOOT
|
if VENDOR_COREBOOT
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "coreboot"
|
default "coreboot"
|
||||||
|
@ -9,9 +9,6 @@ config SYS_VENDOR
|
||||||
config SYS_SOC
|
config SYS_SOC
|
||||||
default "coreboot"
|
default "coreboot"
|
||||||
|
|
||||||
config SYS_CONFIG_NAME
|
|
||||||
default "coreboot"
|
|
||||||
|
|
||||||
config SYS_TEXT_BASE
|
config SYS_TEXT_BASE
|
||||||
default 0x01110000
|
default 0x01110000
|
||||||
|
|
||||||
|
@ -31,4 +28,11 @@ config SYS_CAR_SIZE
|
||||||
help
|
help
|
||||||
This option specifies the board specific Cache-As-RAM (CAR) size.
|
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
|
endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue