[U-Boot] [PATCH v3 1/1] dm: core: add functions to get/remap I/O addresses by name

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Mon Dec 3 20:18:52 UTC 2018



Am 03.12.18 um 19:37 schrieb Álvaro Fernández Rojas:
> This functions allow us to get and remap I/O addresses by name, which is useful when there are multiple reg addresses indexed by reg-names property.
> This is needed in bmips dma/eth patch series, but can also be used on many
> other drivers.
> 
> Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
> ---
>  v3: add commit message
>  v2: add remap tests
> 
>  arch/sandbox/dts/test.dts |  1 +
>  drivers/core/fdtaddr.c    | 10 ++++++
>  drivers/core/read.c       | 20 ++++++++++++
>  include/dm/fdtaddr.h      | 13 ++++++++
>  include/dm/read.h         | 36 +++++++++++++++++++++
>  test/dm/test-fdt.c        | 82 +++++++++++++++++++++++++++++++++++++++++++++--
>  6 files changed, 160 insertions(+), 2 deletions(-)
> 

Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>

-- 
- Daniel


More information about the U-Boot mailing list