Skip to content
Commit bd973788 authored by Kumar Gala's avatar Kumar Gala Committed by Carles Cufí
Browse files

devicetree: Add support for fixed-partitions



Add DT_NODE_BY_FIXED_PARTITION_LABEL that given a "label" in any
fixed-partitions map will return the node_id for that partition node.

Add DT_NODE_HAS_FIXED_PARTITION_LABEL that will test if a given
fixed-partitions "label" is valid.

Add DT_FIXED_PARTITION_ID that will return an unique ordinal value for
the partition give a node_id to the partition.

Signed-off-by: default avatarKumar Gala <kumar.gala@linaro.org>
parent 4a5a90ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment