[PATCH v1] drivers: don't compile Secure Monitor UCLASS unconditionally

Neil Armstrong neil.armstrong at linaro.org
Sun Oct 15 12:30:40 CEST 2023


Le 13/10/2023 à 15:04, Alexey Romanov a écrit :
> It makes no sense to compile Secure Monitor unconditionally.
> For example, this break the SPL build on boards with a small
> allowed SPL image size.
> 
> Fixes: 126fbbefd89e ("drivers: introduce Secure Monitor uclass")
> 
> Signed-off-by: Alexey Romanov <avromanov at salutedevices.com>
> ---
>   drivers/Makefile | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/Makefile b/drivers/Makefile
> index b7bd3633b1..1a768fed2b 100644
> --- a/drivers/Makefile
> +++ b/drivers/Makefile
> @@ -34,6 +34,7 @@ obj-$(CONFIG_$(SPL_TPL_)VIRTIO) += virtio/
>   obj-$(CONFIG_$(SPL_)DM_MAILBOX) += mailbox/
>   obj-$(CONFIG_$(SPL_)REMOTEPROC) += remoteproc/
>   obj-$(CONFIG_$(SPL_)SYSINFO) += sysinfo/
> +obj-$(CONFIG_$(SPL_TPL_)SM) += sm/
>   obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm/
>   obj-$(CONFIG_XEN) += xen/
>   obj-$(CONFIG_$(SPL_)FPGA) += fpga/
> @@ -124,4 +125,3 @@ obj-$(CONFIG_DM_RNG) += rng/
>   endif
>   
>   obj-y += soc/
> -obj-y += sm/

Thanks, squashed into 126fbbefd89e ("drivers: introduce Secure Monitor uclass")

Neil


More information about the U-Boot mailing list