]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mips: mtmips: select SYSRESET for mt7628 only
authorWeijie Gao <weijie.gao@mediatek.com>
Thu, 12 Nov 2020 08:35:28 +0000 (16:35 +0800)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sun, 24 Jan 2021 20:39:26 +0000 (21:39 +0100)
Currently only mt7628 needs the sysreset driver, do not select it for
mt7620.

Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
arch/mips/Kconfig
arch/mips/mach-mtmips/Kconfig

index e0f6b6c4b3c7e6edf20242b7cc34d10247b60707..77f563e98ed293f774b4008b13477747a2503e78 100644 (file)
@@ -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
index 7c07430a0cf125d71ba8fd11313e0b047a7e26de..c383e82a6be6d02725e37b933010aa15120c7329 100644 (file)
@@ -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