diff options
| author | Simon Glass <[email protected]> | 2024-11-13 08:09:37 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-03-10 10:12:08 -0600 |
| commit | d085e692c98d0d7b57cc577ed9befda159cd4a40 (patch) | |
| tree | f681f732b9e2b66cb9498ffb732856cf78c050cc /doc | |
| parent | 42fd94893e7e0fe4ee1e8c5efa35958459842da6 (diff) | |
env: Provide a work-around for unquoting fdtfile
Some boards use a CONFIG option to specify the value of this variable.
This is normally handled by efi_get_distro_fdt_name() but in the case
of sunxi this does not work, since 'soc' is sunxi, but the files are
in the allwinner directory.
Provide a work-around for this particular case.
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/usage/environment.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/usage/environment.rst b/doc/usage/environment.rst index 30fc16794fc..7e2f2863d06 100644 --- a/doc/usage/environment.rst +++ b/doc/usage/environment.rst @@ -87,6 +87,18 @@ settings. For example:: #include <env/ti/mmc.env> +Quotes are not suppressed, for example:: + + fdtfile=CONFIG_DEFAULT_DEVICE_TREE.dtb + # produces: fdtfile="sun7i-a20-pcduino3.dtb" + +For this particular issue you can use ``DEFAULT_DEVICE_TREE`` instead:: + + fdtfile=DEFAULT_DEVICE_TREE.dtb + # produces: fdtfile=sun7i-a20-pcduino3.dtb + +There is no general way to remove quotes. + 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. |
