[PATCH v1 5/9] arm: rockchip: Enable display cpuinfo to be build with SPL_BUILD
Jonas Karlman
jonas at kwiboo.se
Thu May 16 16:03:55 CEST 2024
Hi Anand,
On 2024-05-16 10:59, Anand Moon wrote:
> Changes help enable CONFIG_DISPLAY_CPUINFO to build with SPL_BUILD for
> SoC RK356x and RK3588.
>
> Cc: Jagan Teki <jagan at edgeble.ai>
> Signed-off-by: Anand Moon <anand at edgeble.ai>
> ---
> arch/arm/mach-rockchip/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-rockchip/Makefile b/arch/arm/mach-rockchip/Makefile
> index c07bdaee4c..6722e7c9ea 100644
> --- a/arch/arm/mach-rockchip/Makefile
> +++ b/arch/arm/mach-rockchip/Makefile
> @@ -25,7 +25,7 @@ obj-y += boot_mode.o
> obj-$(CONFIG_ROCKCHIP_COMMON_BOARD) += board.o
> endif
>
> -ifeq ($(CONFIG_TPL_BUILD),)
> +ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),)
Suggest you move the cpu-info.o line inside the ifeq/endif block above.
Regards,
Jonas
> obj-$(CONFIG_DISPLAY_CPUINFO) += cpu-info.o
> endif
>
More information about the U-Boot
mailing list