riscv: cpu: jh7110: Select SPL_ZERO_MEM_BEFORE_USE
authorShengyu Qu <wiagn233@outlook.com>
Wed, 9 Aug 2023 13:11:33 +0000 (21:11 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 10 Aug 2023 02:58:55 +0000 (10:58 +0800)
Add Kconfig item for Starfive JH7110 to select SPL_ZERO_MEM_BEFORE_USE.

Signed-off-by: Bo Gan <ganboing@gmail.com>
Signed-off-by: Shengyu Qu <wiagn233@outlook.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
arch/riscv/cpu/jh7110/Kconfig

index c1d3e6a..8469ee7 100644 (file)
@@ -14,6 +14,7 @@ config STARFIVE_JH7110
        select SPL_RAM if SPL
        select SPL_STARFIVE_DDR
        select SYS_CACHE_SHIFT_6
+       select SPL_ZERO_MEM_BEFORE_USE
        select PINCTRL_STARFIVE_JH7110
        imply MMC
        imply MMC_BROKEN_CD