[PATCH 3/3] dm: core: refactor functions reading an u32 from dt

Simon Glass sjg at chromium.org
Tue Mar 31 01:57:09 CEST 2020


On Sun, 29 Mar 2020 at 10:05, Dario Binacchi <dariobin at libero.it> wrote:
>
> Now reading a 32 bit value from a device-tree property can be expressed
> as reading the first element of an array with a single value.
>
> Signed-off-by: Dario Binacchi <dariobin at libero.it>
>
> ---
>
>  drivers/core/of_access.c | 16 +---------------
>  drivers/core/ofnode.c    | 23 ++---------------------
>  2 files changed, 3 insertions(+), 36 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

Can you please check the code-size delta in SPL on a suitable board?


More information about the U-Boot mailing list