dm: core: fix devfdt_remap_addr_index()
PATCH 1/1 dm: core: fix devfdt_remap_addr_index()
commit 30a90f56c3a2 ("dm: core: add functions to get memory-mapped I/O addresses") introduced a devfdt_remap_addr_index() routine but it does not make use of the index parameter.
Signed-off-by Cédric Le Goater <[email protected]>
--- drivers/core/fdtaddr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/core/fdtaddr.c +1 -1
@@ -138,7 +138,7 @@ void *devfdt_get_addr_ptr(struct udevice *dev)void *devfdt_remap_addr_index (struct udevice *dev,int index) { -fdt_addr_t addr =devfdt_get_addr (dev); +fdt_addr_t addr =devfdt_get_addr_index (dev, index);if (addr ==FDT_ADDR_T_NONE )return NULL ;
Signature · 1 line
2.17.1
PATCH 1/1 dm: core: fix devfdt_remap_addr_index()
Quoted 9 lines · Cédric Le Goater
commit
30a90f56c3a2("dm: core: add functions to get memory-mapped I/O addresses") introduced adevfdt_remap_addr_index()routine but it does not make use of the index parameter.Signed-off-by Cédric Le Goater <[email protected]>--- drivers/core/fdtaddr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Daniel Schwierzeck <[email protected]>
Signature · 9 lines
- Daniel -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180815/3e869776/attachment.sig>
PATCH 1/1 dm: core: fix devfdt_remap_addr_index()
Quoted 7 lines · Daniel Schwierzeck
Quoted 4 lines · Cédric Le Goater
commit
30a90f56c3a2("dm: core: add functions to get memory-mapped I/O addresses") introduced adevfdt_remap_addr_index()routine but it does not make use of the index parameter.
Quoted 7 lines
Quoted 5 lines
Signed-off-by Cédric Le Goater <[email protected]>--- drivers/core/fdtaddr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Reviewed-by Daniel Schwierzeck <[email protected]>
Applied to u-boot-dm, and now in mainline, thanks!