Skip to content
Commit 4984de2b authored by Simon Glass's avatar Simon Glass
Browse files

dm: core: Add ofnode to represent device tree nodes



With live tree we need a struct device_node * to reference a node. With
the existing flat tree, we need an int offset. We need to unify these into
a single value which can represent both.

Add an ofnode union for this and adjust existing code to move to this.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent da409ccc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment