]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mediatek: remove arch_misc_init
authorWeijie Gao <weijie.gao@mediatek.com>
Thu, 16 May 2019 09:19:50 +0000 (17:19 +0800)
committerTom Rini <trini@konsulko.com>
Sun, 7 Jul 2019 21:38:55 +0000 (17:38 -0400)
commitd24416c3fa8ded3df387473ee9df8ed26a98b078
treee1f84d0403be4c7c29c2dbc8ce57a13f56d7a7cb
parent84b2416b6a0531a9ad46a4e445e558f183c50171
arm: mediatek: remove arch_misc_init

The watchdog of mediatek chips is enabled by bootrom before u-boot is
running. Previously we choose to enable the wdt driver only to disable the
watchdog hardware.

Now wdt service is enabled by default. The function arch_misc_init which is
only used to disable wdt is no longer needed.

Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
arch/arm/mach-mediatek/Kconfig
arch/arm/mach-mediatek/cpu.c