u-boot/drivers/core
Heiko Stübner 27326c7ee2 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>
2017-03-16 16:03:44 -06:00
..
device-remove.c dm: core: Rename DM_NAME_ALLOCED to DM_FLAG_NAME_ALLOCED 2016-07-14 20:40:24 -06:00
device.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
devres.c devres: add debug command to dump device resources 2015-08-06 07:44:29 -06:00
dump.c dm: Move the tree/uclass dump code into its own file 2015-07-21 17:39:22 -06:00
Kconfig fdt: Support for ISA busses 2016-05-25 23:13:09 +02:00
lists.c dm: core: Match compatible strings in order of priority 2016-09-21 15:04:32 +02:00
Makefile dm: core: Add SPL Kconfig for REGMAP and SYSCON 2015-12-01 08:07:22 -07:00
regmap.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
root.c dm: allow limiting pre-reloc markings to spl or tpl 2017-03-16 16:03:44 -06:00
simple-bus.c simple-bus: enable support for of-platdata 2017-02-08 06:12:16 -07:00
syscon-uclass.c dm: syscon: Provide a generic syscon driver 2016-09-21 15:04:32 +02:00
uclass.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
util.c dm: allow limiting pre-reloc markings to spl or tpl 2017-03-16 16:03:44 -06:00