libpayload: Drop obsolete setting of reg_base in [oex]hci

Setting of `controller->reg_base` is of no use here, as it is never read
(in another function) later. Looks like this pattern originated from uhci.c
where it makes sense.

By removing the indirection through `reg_base` we also fix a possible
truncation to u32.

Change-Id: I5c99c5bf1f5b1d6c04bd84d87fd3e275fd7d0411
Signed-off-by: Nico Huber <>
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <>
Reviewed-by: Paul Menzel <>
Reviewed-by: Edward O'Callaghan <>
3 files changed