hal: Do some touching up on the initialisation

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>