[PATCH v3 10/17] board_f: m68k: Factor out m68k-specific bdinfo setup

Simon Glass sjg at chromium.org
Tue Jul 21 16:17:20 CEST 2020


On Mon, 20 Jul 2020 at 08:20, Ovidiu Panait <ovidiu.panait at windriver.com> wrote:
>
> 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.
>
> Signed-off-by: Ovidiu Panait <ovidiu.panait at windriver.com>
> ---
>
>  arch/m68k/lib/bdinfo.c | 21 +++++++++++++++++++++
>  common/board_f.c       | 19 ++++---------------
>  2 files changed, 25 insertions(+), 15 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list