aboutsummaryrefslogtreecommitdiff
path: root/doc/driver-model
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/driver-model
parent6998974926df9b41b299cd9f1aaff37649ca9971 (diff)
downloadu-boot-54e1223aa4ca5d65fe3c6497e92bee4453aeddac.zip
u-boot-54e1223aa4ca5d65fe3c6497e92bee4453aeddac.tar.gz
u-boot-54e1223aa4ca5d65fe3c6497e92bee4453aeddac.tar.bz2
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/driver-model')
-rw-r--r--doc/driver-model/README.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/driver-model/README.txt b/doc/driver-model/README.txt
index 07b120d..532a771 100644
--- a/doc/driver-model/README.txt
+++ b/doc/driver-model/README.txt
@@ -849,6 +849,10 @@ in the device tree node. For U-Boot proper you can use 'u-boot,dm-pre-proper'
which means that it will be processed (and a driver bound) in U-Boot proper
prior to relocation, but will not be available in SPL or TPL.
+To reduce the size of SPL and TPL, only the nodes with pre-relocation properties
+('u-boot,dm-pre-reloc', 'u-boot,dm-spl' or 'u-boot,dm-tpl') are keept in their
+device trees (see README.SPL for details); the remaining nodes are always bound.
+
Then post relocation we throw that away and re-init driver model again.
For drivers which require some sort of continuity between pre- and
post-relocation devices, we can provide access to the pre-relocation