Skip to content
Commit a78ebf30 authored by Andre Przywara's avatar Andre Przywara
Browse files

FDT: introduce global phandle allocation



Allocating an FDT phandle (a unique identifier) using a static
variable in a static inline function defined in a header file works
only if all users are in the same source file. So trying to allocate
a handle from two different compilation units fails.
Introduce global phandle allocation and reference code to properly
allocate unique phandles.

Signed-off-by: Andre Przywara's avatarAndre Przywara <andre.przywara@arm.com>
parent d62653e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment