On 02/26/2016 11:03 PM, revol@xxxxxxx wrote:
+++ b/headers/private/kernel/platform/u-boot/fdt_support.h
@@ -16,7 +16,7 @@ void dump_fdt(const void *fdt);
status_t fdt_get_cell_count(const void* fdt, int node,
int32 &addressCells, int32 &sizeCells);
-phys_addr_t fdt_get_device_reg(const void* fdt, int node);
+phys_addr_t fdt_get_device_reg(const void* fdt, int node, bool physical=true);
// TODO: check for virtual-reg, and don't -= fdt_get_range_offset?
+ // XXX: not sure #address-cells & #size-cells actually apply to
virtual-reg