diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2015-01-06 22:14:17 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-01-13 07:25:03 -0800 |
commit | c57522f6564a68a0e0a82544afdb2f95737c1ccd (patch) | |
tree | c6e1c86590b9be990461e596a27665b66b455cf5 /board | |
parent | 7698d36a107734d363a512d3eeb81d6c9acc0a29 (diff) | |
download | u-boot-imx-c57522f6564a68a0e0a82544afdb2f95737c1ccd.zip u-boot-imx-c57522f6564a68a0e0a82544afdb2f95737c1ccd.tar.gz u-boot-imx-c57522f6564a68a0e0a82544afdb2f95737c1ccd.tar.bz2 |
x86: coreboot: Make SYS_CONFIG_NAME and DEFAULT_DEVICE_TREE configurable
In theory U-Boot built for coreboot is supposed to run as a payload
to be loaded by coreboot on every board that coreboot supports.
The U-Boot build process uses SYS_CONFIG_NAME and DEFAULT_DEVICE_TREE
which are hardcoded in board defconfig and Kconfig files. For better
support of coreboot, we want to make these two options configurable
so that we can easily change them during 'make menuconfig' so that
the generated U-Boot image for coreboot is board configuration aware.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/coreboot/coreboot/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/board/coreboot/coreboot/Kconfig b/board/coreboot/coreboot/Kconfig index 6ca6ced..e5ccf58 100644 --- a/board/coreboot/coreboot/Kconfig +++ b/board/coreboot/coreboot/Kconfig @@ -9,7 +9,20 @@ config SYS_VENDOR config SYS_SOC default "coreboot" +comment "coreboot-specific options" + config SYS_CONFIG_NAME + string "Board configuration file" default "coreboot" + help + This option selects the board configuration file in include/configs/ + directory to be used to build U-Boot for coreboot. + +config DEFAULT_DEVICE_TREE + string "Board Device Tree Source (dts) file" + default "link" + help + This option selects the board Device Tree Source (dts) file in + arch/x86/dts/ directory to be used to build U-Boot for coreboot. endif |