Philipp Tomsich | b357fe4 | 2017-03-01 21:10:40 +0100 | [diff] [blame] | 1 | The /config node (Configuration Options) |
| 2 | ---------------------------------------- |
| 3 | |
| 4 | A number of run-time configuration options are provided in the /config node |
| 5 | of the control device tree. You can access these using fdtdec_get_config_int(), |
| 6 | fdtdec_get_config_bool() and fdtdec_get_config_string(). |
| 7 | |
Simon Glass | 1bd4453 | 2021-09-09 14:10:31 -0600 | [diff] [blame^] | 8 | These options are designed to affect the operation of U-Boot at runtime. |
| 9 | Runtime-configuration items can help avoid proliferation of different builds |
| 10 | with only minor changes, e.g. enabling and disabling console output. Items |
| 11 | here should be those that can usefully be set by the build system after U-Boot |
| 12 | is built. |
Philipp Tomsich | b357fe4 | 2017-03-01 21:10:40 +0100 | [diff] [blame] | 13 | |
Simon Glass | 1bd4453 | 2021-09-09 14:10:31 -0600 | [diff] [blame^] | 14 | Available options are: |
Philipp Tomsich | 842ac3f | 2017-03-01 21:10:41 +0100 | [diff] [blame] | 15 | |
Simon Glass | 1bd4453 | 2021-09-09 14:10:31 -0600 | [diff] [blame^] | 16 | u-boot,efi-partition-entries-offset (int) |
Philipp Tomsich | 842ac3f | 2017-03-01 21:10:41 +0100 | [diff] [blame] | 17 | If present, this provides an offset (in bytes, from the start of a |
| 18 | device) that should be skipped over before the partition entries. |
| 19 | This is used by the EFI/GPT partition implementation when a device |
| 20 | is formatted. |
| 21 | |
| 22 | This setting will override any values configured via Kconfig. |
Philipp Tomsich | cbcf3a2 | 2017-04-17 17:45:12 +0200 | [diff] [blame] | 23 | |
Simon Glass | 1bd4453 | 2021-09-09 14:10:31 -0600 | [diff] [blame^] | 24 | u-boot,mmc-env-offset (int) |
| 25 | u-boot,mmc-env-offset-redundant (int) |
Philipp Tomsich | a7bdaf7 | 2017-05-16 00:16:32 +0200 | [diff] [blame] | 26 | If present, the values of the 'u-boot,mmc-env-offset' and/or |
| 27 | of the u-boot,mmc-env-offset-redundant' properties overrides |
| 28 | CONFIG_ENV_OFFSET and CONFIG_ENV_OFFSET_REDUND, respectively, |
| 29 | for SD/MMC devices. |
| 30 | |
| 31 | Values are interpreted as the offset from the start of the |
| 32 | device, specified in bytes. It is assumed that the setting |
| 33 | will point at the beginning of a LBA and values that are not |
| 34 | LBA-aligned will be rounded up to the next LBA address. |
| 35 | |
Simon Glass | 1bd4453 | 2021-09-09 14:10:31 -0600 | [diff] [blame^] | 36 | u-boot,mmc-env-partition (int) |
| 37 | if present, the environment shall be placed at the last |
| 38 | CONFIG_ENV_SIZE blocks of the partition on the |
| 39 | CONFIG_SYS_MMC_ENV_DEV. |
| 40 | |
| 41 | if u-boot,mmc-env-offset* is present, this setting will take |
| 42 | precedence. In that case, only if the partition is not found, |
| 43 | mmc-env-offset* will be tried. |
| 44 | |
| 45 | u-boot,no-keyboard (bool) |
| 46 | Tells U-Boot not to expect an attached keyboard with a VGA console. |
| 47 | |
| 48 | silent-console (int) |
| 49 | If present and non-zero, the console is silenced by default on boot. |
| 50 | |
| 51 | u-boot,spl-payload-offset (int) |
Philipp Tomsich | cbcf3a2 | 2017-04-17 17:45:12 +0200 | [diff] [blame] | 52 | If present (and SPL is controlled by the device-tree), this allows |
| 53 | to override the CONFIG_SYS_SPI_U_BOOT_OFFS setting using a value |
| 54 | from the device-tree. |
Philipp Tomsich | 145638f | 2017-11-28 17:56:11 +0100 | [diff] [blame] | 55 | |
Simon Glass | 1bd4453 | 2021-09-09 14:10:31 -0600 | [diff] [blame^] | 56 | sysreset-gpio (string) |
Philipp Tomsich | 145638f | 2017-11-28 17:56:11 +0100 | [diff] [blame] | 57 | If present (and supported by the specific board), indicates a |
| 58 | GPIO that can be set to trigger a system reset. It is assumed |
| 59 | that such a system reset will effect a complete platform reset, |
| 60 | being roughly equivalent to a power-on reset. |