]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: add functions to get/remap I/O addresses by name
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Mon, 3 Dec 2018 18:37:09 +0000 (19:37 +0100)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Dec 2018 13:06:44 +0000 (06:06 -0700)
commit7959882049a9b389c131eff9a128437ee8ebe08e
treea0b31f0e5dbf3d95ae731918a675c075614db3be
parentbb48470df21c0ce4ebed47f5dc3ea25ff02fd4dd
dm: core: add functions to get/remap I/O addresses by name

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@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/test.dts
drivers/core/fdtaddr.c
drivers/core/read.c
include/dm/fdtaddr.h
include/dm/read.h
test/dm/test-fdt.c