]> git.dujemihanovic.xyz Git - u-boot.git/commit
common: board_r: drop initr_kgdb wrapper
authorOvidiu Panait <ovidiu.panait@windriver.com>
Sat, 1 Jan 2022 17:13:27 +0000 (19:13 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 18 Jan 2022 13:31:02 +0000 (08:31 -0500)
commit78fc0395c01640df0fa9b8be736bf855a0416b56
treed9d621f78628d6dff4d16f7a2e4ca736378cf1ed
parent485c90c06bbb01f9ae3e5746836152ce5ea36c0f
common: board_r: drop initr_kgdb wrapper

Add a return value to kgdb_init and use it directly in the post-relocation
init sequence, rather than using a wrapper stub. Also, move the "KGDB"
print message inside kgdb_init().

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
common/board_r.c
common/kgdb.c
include/kgdb.h