summaryrefslogtreecommitdiff
path: root/doc/README.SPL
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2019-05-21 19:19:13 +0200
committerSimon Glass <sjg@chromium.org>2019-07-10 16:52:58 -0600
commit54e1223aa4ca5d65fe3c6497e92bee4453aeddac (patch)
tree86f78ab283c217cb445ef92ebb9d51569e22b5bf /doc/README.SPL
parent6998974926df9b41b299cd9f1aaff37649ca9971 (diff)
dm: doc: add documentation for pre-reloc properties in SPL and TPL
Add documentation for the pre-reloc property in SPL and TPL device-tree: - u-boot,dm-pre-proper - u-boot,dm-pre-reloc - u-boot,dm-spl - u-boot,dm-tpl Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/README.SPL')
-rw-r--r--doc/README.SPL16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/README.SPL b/doc/README.SPL
index 7a30fefa96..6eed83f8c5 100644
--- a/doc/README.SPL
+++ b/doc/README.SPL
@@ -66,6 +66,22 @@ CONFIG_SPL_SPI_LOAD (drivers/mtd/spi/spi_spl_load.o)
CONFIG_SPL_RAM_DEVICE (common/spl/spl.c)
CONFIG_SPL_WATCHDOG_SUPPORT (drivers/watchdog/libwatchdog.o)
+Device tree
+-----------
+The U-Boot device tree is filtered by the fdtgrep tools during the build
+process to generate a much smaller device tree used in SPL (spl/u-boot-spl.dtb)
+with:
+- the mandatory nodes (/alias, /chosen, /config)
+- the nodes with one pre-relocation property:
+ 'u-boot,dm-pre-reloc' or 'u-boot,dm-spl'
+
+ftgrep is also used to remove:
+- the properties defined in CONFIG_OF_SPL_REMOVE_PROPS
+- all the pre-relocation properties
+ ('u-boot,dm-pre-reloc', 'u-boot,dm-spl' and 'u-boot,dm-tpl')
+
+All the nodes remaining in the SPL devicetree are bound
+(see driver-model/README.txt).
Debugging
---------