]> git.sur5r.net Git - u-boot/commit
qemu-ppce500: pass 'range_id' around in pci_map_region
authorMiao Yan <yanmiaobest@gmail.com>
Mon, 21 Dec 2015 09:19:59 +0000 (01:19 -0800)
committerTom Rini <trini@konsulko.com>
Mon, 4 Jan 2016 17:25:34 +0000 (12:25 -0500)
commit18d3f46995319dfcb7f73c7c6a5e5da6b8e57e69
tree4f95162a9b0b0a658ce1a2b5d161a3a8b3ea24f1
parentd8a1a304ef585795a217ce8e13514eebfb8279ee
qemu-ppce500: pass 'range_id' around in pci_map_region

In pci_map_region(), pass 'range_id' to fdt_read_range(),
otherwise the same address will be mapped again in other
calls to pci_map_region()

Signed-off-by: Miao Yan <yammiaobest@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
board/freescale/qemu-ppce500/qemu-ppce500.c