libpayload: Use unsigned long for BARs in *hci_init()

Using void* for physical addresses leads to much casting and confuses
developers when to convert from physical to virtual addresses or
the other way around. When using plain integers for physical addresses
and pointers for virtual addresses things become much cleaner and we
won't ever end up dereferencing a physical address.

Change-Id: I24cd53b81c7863b6d14f0cbb4ce8937728b37c1c
Signed-off-by: Nico Huber <>
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <>
7 files changed