[PATCH 1/1] riscv: CONFIG_SPL_FRAMEPOINTER must depend on CONFIG_SPL

Ben Dooks ben.dooks at codethink.co.uk
Tue Aug 13 09:39:20 CEST 2024


On 11/08/2024 10:51, Heinrich Schuchardt wrote:
> The CONFIG_SPL_FRAMEPOINTER symbol is only relevant in SPL.
> 
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>

Thanks for spotting

Reviewed-by: Ben Dooks <ben.dooks at codethink.co.uk>

> ---
>   arch/riscv/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
> index fa3b016c527..4e228a659f2 100644
> --- a/arch/riscv/Kconfig
> +++ b/arch/riscv/Kconfig
> @@ -133,6 +133,7 @@ config FRAMEPOINTER
>   
>   config SPL_FRAMEPOINTER
>   	bool "Build SPL with frame pointer for stack unwinding"
> +	depends on SPL
>   	help
>   	  Choose this option to use the frame pointer so the stack can be
>   	  unwound if needed. This is useful for tracing where faults came

-- 
Ben Dooks				http://www.codethink.co.uk/
Senior Engineer				Codethink - Providing Genius

https://www.codethink.co.uk/privacy.html



More information about the U-Boot mailing list