
4 Dec
2018
4 Dec
'18
12:44 a.m.
On Mon, 3 Dec 2018 at 11:37, Álvaro Fernández Rojas noltari@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@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@chromium.org