]> git.dujemihanovic.xyz Git - u-boot.git/commit
board_f: m68k: Factor out m68k-specific bdinfo setup
authorOvidiu Panait <ovidiu.panait@windriver.com>
Fri, 24 Jul 2020 11:12:18 +0000 (14:12 +0300)
committerTom Rini <trini@konsulko.com>
Thu, 6 Aug 2020 18:26:35 +0000 (14:26 -0400)
commitee9c3adc85791ad887dc798c294c2d8756dfb0b9
tree910018143b452caf5eca5ecada5266f88bd61d3d
parent4912224216e80df09e3e141c23b6107a58072ae4
board_f: m68k: Factor out m68k-specific bdinfo setup

Factor out m68k-specific bdinfo setup to arch_setup_bdinfo in
arch/m68k/lib/bdinfo.c. Also, use if(IS_ENABLED()) instead of #ifdef where
possible.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
arch/m68k/lib/bdinfo.c
common/board_f.c