summary refs log tree commit diff stats
path: root/hw/timer/cmsdk-apb-timer.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2018-07-09 14:27:43 +1000
committerDavid Gibson <david@gibson.dropbear.id.au>2018-07-09 14:38:45 +1000
commit51b0d834c414f494410cc94e56886b6584ae3c54 (patch)
tree40de6a5bd1ac9a55fcbed93362f6d02b2512fdaa /hw/timer/cmsdk-apb-timer.c
parente753f33136f6230d30aa324220be112ccddbffba (diff)
downloadfocaccia-qemu-51b0d834c414f494410cc94e56886b6584ae3c54.tar.gz
focaccia-qemu-51b0d834c414f494410cc94e56886b6584ae3c54.zip
sam460ex: Make sam460ex_load_device_tree() handle all errors internally
sam460ex_load_device_tree() handles nearly all possible errors by simply
exiting (within helper functions and macros).  It handles two early error
cases by returning an error.

There's no particular point to this, so make it handle those directly as
well, removing the need for the caller to handle a failure.  As a bonus it
gives us more specific error messages.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/timer/cmsdk-apb-timer.c')
0 files changed, 0 insertions, 0 deletions