
3 Dec
2018
3 Dec
'18
9:18 p.m.
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@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@gmail.com
--
- Daniel