[PATCH v3 03/23] mips: mtmips: select SYSRESET for mt7628 only

Stefan Roese sr at denx.de
Mon Nov 9 09:33:26 CET 2020


On 09.11.20 09:24, Weijie Gao wrote:
> Currently only mt7628 needs the sysreset driver, do not select it for
> mt7620.
> 
> Signed-off-by: Weijie Gao <weijie.gao at mediatek.com>

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan

> ---
> v3 changes: none
> v2 changes: new
> ---
>   arch/mips/Kconfig             | 1 -
>   arch/mips/mach-mtmips/Kconfig | 1 +
>   2 files changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
> index e0f6b6c4b3..77f563e98e 100644
> --- a/arch/mips/Kconfig
> +++ b/arch/mips/Kconfig
> @@ -97,7 +97,6 @@ config ARCH_MTMIPS
>   	select SUPPORTS_CPU_MIPS32_R1
>   	select SUPPORTS_CPU_MIPS32_R2
>   	select SUPPORTS_LITTLE_ENDIAN
> -	select SYSRESET
>   	select SUPPORT_SPL
>   
>   config ARCH_JZ47XX
> diff --git a/arch/mips/mach-mtmips/Kconfig b/arch/mips/mach-mtmips/Kconfig
> index 7c07430a0c..c383e82a6b 100644
> --- a/arch/mips/mach-mtmips/Kconfig
> +++ b/arch/mips/mach-mtmips/Kconfig
> @@ -43,6 +43,7 @@ config SOC_MT7628
>   	select SYS_MIPS_CACHE_INIT_RAM_LOAD
>   	select PINCTRL_MT7628
>   	select MTK_SERIAL
> +	select SYSRESET
>   	select SYSRESET_RESETCTL
>   	select SPL_SEPARATE_BSS if SPL
>   	select SPL_INIT_STACK_WITHOUT_MALLOC_F if SPL
> 


Viele Grüße,
Stefan

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list