]> git.dujemihanovic.xyz Git - u-boot.git/commit
common/board_f: move CONFIG_MACH_TYPE logic to arch/arm/lib/bdinfo.c
authorOvidiu Panait <ovpanait@gmail.com>
Tue, 13 Sep 2022 18:31:27 +0000 (21:31 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 7 Oct 2022 01:05:17 +0000 (21:05 -0400)
commit85e68ae001d4449f02e6ce99b91e160bd94eb69c
treeedfc934541e40565808150d9ede901070d987325
parent181cbd4017305142eb26df0aa065b8bb95921f83
common/board_f: move CONFIG_MACH_TYPE logic to arch/arm/lib/bdinfo.c

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.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Ovidiu Panait <ovpanait@gmail.com>
arch/arm/lib/bdinfo.c
common/board_f.c