Some drivers (clk, pinctrl, reset, ...) are necessary for reset of the
system, they should be always selected.

Signed-off-by: Weijie Gao <weijie....@mediatek.com>
---
v2: newly added
---
 arch/mips/Kconfig             | 6 ++++++
 arch/mips/mach-mtmips/Kconfig | 2 ++
 2 files changed, 8 insertions(+)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index e3e7945567..fd3bf18bd7 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -76,12 +76,18 @@ config ARCH_BMIPS
 
 config ARCH_MTMIPS
        bool "Support MediaTek MIPS platforms"
+       select CLK
        imply CMD_DM
        select DISPLAY_CPUINFO
        select DM
        imply DM_ETH
        imply DM_GPIO
+       select DM_RESET
        select DM_SERIAL
+       select PINCTRL
+       select PINMUX
+       select PINCONF
+       select RESET_MTMIPS
        imply DM_SPI
        imply DM_SPI_FLASH
        select LAST_STAGE_INIT
diff --git a/arch/mips/mach-mtmips/Kconfig b/arch/mips/mach-mtmips/Kconfig
index 4af2d54528..c8dcf19c0d 100644
--- a/arch/mips/mach-mtmips/Kconfig
+++ b/arch/mips/mach-mtmips/Kconfig
@@ -13,6 +13,8 @@ choice
 config SOC_MT7628
        bool "MT7628"
        select MIPS_L1_CACHE_SHIFT_5
+       select PINCTRL_MT7628
+       select MTK_SERIAL
        help
          This supports MediaTek MT7628/MT7688.
 
-- 
2.17.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to