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

dtoc: Support widening a bool value



At present if we see 'ranges' property (with no value) we assume it is a
boolean, as per the devicetree spec.

But another node may define 'ranges' with a value, forcing us to widen it
to an int array. At present this is not supported and causes an error.

Fix this and add some test cases.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reported-by: default avatarTom Rini <trini@konsulko.com>
parent ca04494d
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