commit | 4311832f1e9e06a369855a0edc722a115afa4a8c | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Jul 28 19:23:11 2021 -0600 |
committer | Simon Glass <sjg@chromium.org> | Sun Aug 01 09:05:24 2021 -0600 |
tree | 2508a115df4604adc9395b4f72e8ec3ec8fff90f | |
parent | a7d6698ed8b83e01ab614238a117150dfb699c31 [diff] |
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: Simon Glass <sjg@chromium.org> Reported-by: Tom Rini <trini@konsulko.com>