summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHeiko Stübner <heiko@sntech.de>2017-02-18 18:46:21 (GMT)
committerSimon Glass <sjg@chromium.org>2017-03-16 22:03:44 (GMT)
commit27326c7ee269ff351bba8c2461e19f29d66b6a3a (patch)
treee64993fade9d4290d6ea79e24cdbe4885c469f52 /tools
parent2adb981207b06d93633c1a546f882dbb4dc260e4 (diff)
downloadu-boot-27326c7ee269ff351bba8c2461e19f29d66b6a3a.tar.xz
dm: allow limiting pre-reloc markings to spl or tpl
Right now the u-boot,dm-pre-reloc flag will make each marked node always appear in both spl and tpl. But systems needing an additional tpl might have special constraints for each, like the spl needing to be very tiny. So introduce two additional flags to mark nodes for only spl or tpl environments and introduce a function dm_fdt_pre_reloc to automate the necessary checks in code instances checking for pre-relocation flags. The behaviour of the original flag stays untouched and still marks a node for both spl and tpl. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/dtoc/dtoc.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/dtoc/dtoc.py b/tools/dtoc/dtoc.py
index 6df7b0d..bf67ec8 100755
--- a/tools/dtoc/dtoc.py
+++ b/tools/dtoc/dtoc.py
@@ -30,6 +30,8 @@ PROP_IGNORE_LIST = [
"status",
'phandle',
'u-boot,dm-pre-reloc',
+ 'u-boot,dm-tpl',
+ 'u-boot,dm-spl',
]
# C type declarations for the tyues we support