Skip to content
Commit 085d5941 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

dm: core: Add ofnode functions to obtain an oftree



At present dm_test_ofnode_root() does this manually. Add some inline
functions to handle it, so this code can be centralised.

Add oftree functions to produce a null tree and to check whether a tree
is valid or not.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent a3f50d03
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