mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 13:43:28 +00:00
env: Explain how to use #include files in text environment
Provide documentation on how to share common settings among boards. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> # Intel Edison Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
5e541a05f7
commit
63af90e7f0
1 changed files with 6 additions and 0 deletions
|
@ -81,6 +81,12 @@ Example::
|
|||
echo CONFIG_SYS_BOARD boot failed - please check your image
|
||||
echo Load address is CONFIG_SYS_LOAD_ADDR
|
||||
|
||||
Settings which are common to a group of boards can use #include to bring in
|
||||
a common file in the `include/env` directory, containing environment
|
||||
settings. For example::
|
||||
|
||||
#include <env/ti/mmc.env>
|
||||
|
||||
If CONFIG_ENV_SOURCE_FILE is empty and the default filename is not present, then
|
||||
the old-style C environment is used instead. See below.
|
||||
|
||||
|
|
Loading…
Reference in a new issue