blob: f704eb695f5a4852ec8da8dc74f35390227b10a4 [file] [log] [blame]
Philipp Tomsichb357fe42017-03-01 21:10:40 +01001The /config node (Configuration Options)
2----------------------------------------
3
4A number of run-time configuration options are provided in the /config node
5of the control device tree. You can access these using fdtdec_get_config_int(),
6fdtdec_get_config_bool() and fdtdec_get_config_string().
7
Simon Glass1bd44532021-09-09 14:10:31 -06008These options are designed to affect the operation of U-Boot at runtime.
9Runtime-configuration items can help avoid proliferation of different builds
10with only minor changes, e.g. enabling and disabling console output. Items
11here should be those that can usefully be set by the build system after U-Boot
12is built.
Philipp Tomsichb357fe42017-03-01 21:10:40 +010013
Simon Glass1bd44532021-09-09 14:10:31 -060014Available options are:
Philipp Tomsich842ac3f2017-03-01 21:10:41 +010015
Simon Glass1bd44532021-09-09 14:10:31 -060016u-boot,efi-partition-entries-offset (int)
Philipp Tomsich842ac3f2017-03-01 21:10:41 +010017 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 Tomsichcbcf3a22017-04-17 17:45:12 +020023
Simon Glass1bd44532021-09-09 14:10:31 -060024u-boot,mmc-env-offset (int)
25u-boot,mmc-env-offset-redundant (int)
Philipp Tomsicha7bdaf72017-05-16 00:16:32 +020026 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 Glass1bd44532021-09-09 14:10:31 -060036u-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
45u-boot,no-keyboard (bool)
46 Tells U-Boot not to expect an attached keyboard with a VGA console.
47
48silent-console (int)
49 If present and non-zero, the console is silenced by default on boot.
50
51u-boot,spl-payload-offset (int)
Philipp Tomsichcbcf3a22017-04-17 17:45:12 +020052 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 Tomsich145638f2017-11-28 17:56:11 +010055
Simon Glass1bd44532021-09-09 14:10:31 -060056sysreset-gpio (string)
Philipp Tomsich145638f2017-11-28 17:56:11 +010057 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.