xref: /rk3399_rockchip-uboot/doc/device-tree-bindings/config.txt (revision de59d10cd0a4e79c85e4f791fb8f023164d0890e)
1399f3afaSPhilipp TomsichThe /config node (Configuration Options)
2399f3afaSPhilipp Tomsich----------------------------------------
3399f3afaSPhilipp Tomsich
4399f3afaSPhilipp TomsichA number of run-time configuration options are provided in the /config node
5399f3afaSPhilipp Tomsichof the control device tree. You can access these using fdtdec_get_config_int(),
6399f3afaSPhilipp Tomsichfdtdec_get_config_bool() and fdtdec_get_config_string().
7399f3afaSPhilipp Tomsich
8399f3afaSPhilipp TomsichAvailable options are:
9399f3afaSPhilipp Tomsich
10399f3afaSPhilipp Tomsichsilent-console
11399f3afaSPhilipp Tomsich	If present and non-zero, the console is silenced by default on boot.
12399f3afaSPhilipp Tomsich
13399f3afaSPhilipp Tomsichno-keyboard
14399f3afaSPhilipp Tomsich	Tells U-Boot not to expect an attached keyboard with a VGA console
15e7dd02e3SPhilipp Tomsich
16e7dd02e3SPhilipp Tomsichu-boot,efi-partition-entries-offset
17e7dd02e3SPhilipp Tomsich	If present, this provides an offset (in bytes, from the start of a
18e7dd02e3SPhilipp Tomsich	device) that should be skipped over before the partition entries.
19e7dd02e3SPhilipp Tomsich	This is used by the EFI/GPT partition implementation when a device
20e7dd02e3SPhilipp Tomsich	is formatted.
21e7dd02e3SPhilipp Tomsich
22e7dd02e3SPhilipp Tomsich	This setting will override any values configured via Kconfig.
23f222b367SPhilipp Tomsich
24*de59d10cSPhilipp Tomsichu-boot,mmc-env-offset
25*de59d10cSPhilipp Tomsichu-boot,mmc-env-offset-redundant
26*de59d10cSPhilipp Tomsich	If present, the values of the 'u-boot,mmc-env-offset' and/or
27*de59d10cSPhilipp Tomsich	of the u-boot,mmc-env-offset-redundant' properties overrides
28*de59d10cSPhilipp Tomsich	CONFIG_ENV_OFFSET and CONFIG_ENV_OFFSET_REDUND, respectively,
29*de59d10cSPhilipp Tomsich	for SD/MMC devices.
30*de59d10cSPhilipp Tomsich
31*de59d10cSPhilipp Tomsich	Values are interpreted as the offset from the start of the
32*de59d10cSPhilipp Tomsich	device, specified in bytes.  It is assumed that the setting
33*de59d10cSPhilipp Tomsich	will point at the beginning of a LBA and values that are not
34*de59d10cSPhilipp Tomsich	LBA-aligned will be rounded up to the next LBA address.
35*de59d10cSPhilipp Tomsich
36f222b367SPhilipp Tomsichu-boot,spl-payload-offset
37f222b367SPhilipp Tomsich	If present (and SPL is controlled by the device-tree), this allows
38f222b367SPhilipp Tomsich	to override the CONFIG_SYS_SPI_U_BOOT_OFFS setting using a value
39f222b367SPhilipp Tomsich	from the device-tree.
40