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

sjg at google.com sjg at google.com
Wed Dec 5 23:10:37 UTC 2018


On Mon, 3 Dec 2018 at 11:37, Álvaro Fernández Rojas <noltari at gmail.com> wrote:
>
> 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: Simon Glass <sjg at chromium.org>

Applied to u-boot-dm/master, thanks!


More information about the U-Boot mailing list