[PATCH 2/4] common/board_f: move CONFIG_MACH_TYPE logic to arch/arm/lib/bdinfo.c

Simon Glass sjg at chromium.org
Mon Sep 12 15:34:44 CEST 2022


On Sun, 11 Sept 2022 at 10:11, Ovidiu Panait <ovpanait at gmail.com> wrote:
>
> asm/mach_type.h header and CONFIG_MACH_TYPE macro are arm-specific, so move
> related bdinfo logic to arch_setup_bdinfo() in arch/arm/lib/bdinfo.c.
>
> Signed-off-by: Ovidiu Panait <ovpanait at gmail.com>
> ---
>
>  arch/arm/lib/bdinfo.c | 12 ++++++++++++
>  common/board_f.c      |  7 -------
>  2 files changed, 12 insertions(+), 7 deletions(-)

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


More information about the U-Boot mailing list