Skip to content
Snippets Groups Projects
Commit 27326c7e authored by Heiko Stübner's avatar Heiko Stübner Committed by Simon Glass
Browse files

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: default avatarHeiko Stuebner <heiko@sntech.de>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Tested-by: default avatarKever Yang <kever.yang@rock-chips.com>
parent 2adb9812
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment