[U-Boot] [PATCH 1/2] fdt: Allow indicating a node is for U-Boot proper only

Simon Glass sjg at chromium.org
Mon Feb 4 14:40:16 UTC 2019

On Mon, 4 Feb 2019 at 03:15, Patrick Delaunay <patrick.delaunay at st.com> wrote:
> This add missing parts for previous commit 06f94461a9f4
> ("fdt: Allow indicating a node is for U-Boot proper only")
> At present it is not possible to specify that a node should be used before
> relocation (in U-Boot proper) without it also ending up in SPL and TPL
> device trees. Add a new "u-boot,dm-pre-proper" boolean property for this.
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>

Reviewed-by: Simon Glass <sjg at chromium.org>

There was discussion some time ago about using a property instead:

chosen {
   u-boot,dm-spl = <&node1 &node2>;
    u-boot,dm-tpl = <&node1>;

At the time I decided that this was more painful since it separates
out the tag from its node.

I wonder if that is still true? We do now in fact generally use a
u-boot.dtsi file to hold these tags.

I'm not suggesting a change, just raising the question.


More information about the U-Boot mailing list