Skip to content
Commit 37ba9844 authored by Simon Glass's avatar Simon Glass
Browse files

dtoc: Tidy up property-offset handling



If a property does not yet have an offset, then that means it exists in
the cache'd fdt but has not yet been synced back to the flat tree. Use
the dirty flag for this so we don't need to check the offset too. Improve
the comments for Prop and Node to make it clear what an offset of None
means.

Also clear the dirty flag after the property is synced.

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