diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2010-10-04 00:34:17 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-10-18 21:58:59 +0200 |
commit | 9329cdfb3003a26bac1324fc05dbbbafc00dc37e (patch) | |
tree | 064e696ae160acca7c77e814f49218f3d7d0ecb4 /arch/sh | |
parent | 74c7a95f28de3f430eb870f001cb2b010cb85366 (diff) | |
download | u-boot-imx-9329cdfb3003a26bac1324fc05dbbbafc00dc37e.zip u-boot-imx-9329cdfb3003a26bac1324fc05dbbbafc00dc37e.tar.gz u-boot-imx-9329cdfb3003a26bac1324fc05dbbbafc00dc37e.tar.bz2 |
Build: Add "board options" column to boards.cfg
There are some boards where it's currently not possible to detect all
board information at runtime, therefore a new column was added to
boards.cfg .
This column can contain multiple options: a board configuration name,
optionally followed by a colon (':') and a list of options, which are
separated by comma (',').
In case of simple options like '256M_U_BOOT', these expand to
"#define CONFIG_MK_256M_U_BOOT 1" in config.h . In case of
assignments like 'RAM=8192', these expand to "#define CONFIG_MK_RAM
8192" in config.h .
Example:
FOO:HAS_BAR,BAZ=64
means:
- the name of the board config file is include/configs/FOO.h
- the generated file include/config.h will contain these
lines:
#define CONFIG_HAS_BAR 1
#define CONFIG_BAZ 64
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
[wd@denx.de: edited commit message; added code to deal with an
optional board configuration name]
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions