]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - doc/README.distro
log: Add a way to log error-return values
[people/ms/u-boot.git] / doc / README.distro
index e1b72161521fa8728fde85955ef102b81e19ae22..77d5c6d4d56f90f6ba1ed237ca3927901f47d936 100644 (file)
@@ -162,6 +162,12 @@ U-Boot Implementation
 Enabling the distro options
 ---------------------------
 
+In your board's defconfig, enable the DISTRO_DEFAULTS option by adding
+a line with "CONFIG_DISTRO_DEFAULTS=y". If you want to enable this
+from Kconfig itself, for e.g. all boards using a specific SoC then
+add a "default y if ARCH_FOO" to the DISTRO_DEFAULTS section of
+the Kconfig file in the root of the u-boot sources.
+
 In your board configuration file, include the following:
 
 ------------------------------------------------------------