]> git.dujemihanovic.xyz Git - u-boot.git/commit
board_r: use IS_ENABLED(CONFIG_NEEDS_MANUAL_RELOC) in board_init_r()
authorOvidiu Panait <ovidiu.panait@windriver.com>
Mon, 2 May 2022 15:34:56 +0000 (18:34 +0300)
committerTom Rini <trini@konsulko.com>
Wed, 11 May 2022 13:22:24 +0000 (09:22 -0400)
commit13ae36cc8d3dfc09765db261f38fbf5992ec7b3f
treeb9644f71e24dfdda1a92be79b3623e01e9f3cfd6
parent54a54a63139e6986da579ef5be984eb3e67cffb1
board_r: use IS_ENABLED(CONFIG_NEEDS_MANUAL_RELOC) in board_init_r()

Drop CONFIG_NEEDS_MANUAL_RELOC ifdefs in board_init_r() and use
IS_ENABLED() instead. Also, use the MANUAL_RELOC() macro to update the
initcall pointers.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
common/board_r.c