mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
ceeee8f7b5
Currently building U-Boot as the coreboot payload requires user to change the build configuration for a specific board during menuconfig process. This uses the board's native device tree to configure the hardware. For example, the device tree provides PCI address range for the PCI host controller and U-Boot will re-program all PCI devices' BAR to be within this range. In order to make sure we don't mess up the hardware, we should guarantee the range matches what coreboot programs the chipset. But we really should make the coreboot payload support easier. Just like EFI payload, we can create a generic coreboot payload for all x86 boards as well. The payload is configured to include as many generic drivers as possible. All stuff that touches low level initialization are not allowed as such is the coreboot's responsibility. Platform specific drivers (like gpio, spi, etc) are not included. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
35 lines
629 B
Plaintext
35 lines
629 B
Plaintext
if TARGET_COREBOOT
|
|
|
|
config SYS_BOARD
|
|
default "coreboot"
|
|
|
|
config SYS_VENDOR
|
|
default "coreboot"
|
|
|
|
config SYS_SOC
|
|
default "coreboot"
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "coreboot"
|
|
|
|
config SYS_TEXT_BASE
|
|
default 0x01110000
|
|
|
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
|
def_bool y
|
|
select BOARD_EARLY_INIT_R
|
|
|
|
config SYS_CAR_ADDR
|
|
hex "Board specific Cache-As-RAM (CAR) address"
|
|
default 0x01920000
|
|
help
|
|
This option specifies the board specific Cache-As-RAM (CAR) address.
|
|
|
|
config SYS_CAR_SIZE
|
|
hex "Board specific Cache-As-RAM (CAR) size"
|
|
default 0x4000
|
|
help
|
|
This option specifies the board specific Cache-As-RAM (CAR) size.
|
|
|
|
endif
|