]> git.sur5r.net Git - u-boot/commit - tools/dtoc/dtoc.py
dm: allow limiting pre-reloc markings to spl or tpl
authorHeiko Stübner <heiko@sntech.de>
Sat, 18 Feb 2017 18:46:21 +0000 (19:46 +0100)
committerSimon Glass <sjg@chromium.org>
Thu, 16 Mar 2017 22:03:44 +0000 (16:03 -0600)
commit27326c7ee269ff351bba8c2461e19f29d66b6a3a
treee64993fade9d4290d6ea79e24cdbe4885c469f52
parent2adb981207b06d93633c1a546f882dbb4dc260e4
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>
doc/driver-model/README.txt
drivers/clk/at91/pmc.c
drivers/core/root.c
drivers/core/util.c
drivers/pinctrl/pinctrl-uclass.c
include/dm/util.h
scripts/Makefile.spl
tools/dtoc/dtoc.py