]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mips: mtmips: select essential drivers in Kconfig
authorWeijie Gao <weijie.gao@mediatek.com>
Wed, 25 Sep 2019 09:45:43 +0000 (17:45 +0800)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 25 Oct 2019 15:20:44 +0000 (17:20 +0200)
Some drivers (clk, pinctrl, reset, ...) are necessary for reset of the
system, they should be always selected.

Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
arch/mips/Kconfig
arch/mips/mach-mtmips/Kconfig

index f5d81b822c48d5500cf805a3ae7e8c311737f379..eb1f67dcccbd9fddc509fd58a24ab1ba689c4066 100644 (file)
@@ -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
index 4af2d545288aed64da2ef0f0d3d403e52e479eab..c8dcf19c0de2381aa4ce77b4b393a615cbcb5088 100644 (file)
@@ -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.