Skip to content
Commit c57f3a09 authored by Kumar Gala's avatar Kumar Gala Committed by Kumar Gala
Browse files

scripts/dts/extract: Fix handling of value extraction based on cells



If size or address cells happened to be 2 we'd get the wrong value since
we where shift the least significant 32-bit's up.  Adjust the math based
on the value of the cell amount to fix things.

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