]> git.dujemihanovic.xyz Git - u-boot.git/commit
mips: enable _machine_restart for spl
authorWeijie Gao <weijie.gao@mediatek.com>
Thu, 12 Nov 2020 08:35:38 +0000 (16:35 +0800)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sun, 24 Jan 2021 20:39:26 +0000 (21:39 +0100)
commit50d34f0eaaee6fcdbb30a36097c7a0ecf20c3b87
treed093e8453204932c9ebb67af21ae725692541d4d
parent9bf72ba6f68f7c96b0913bfc35ae423e9b1895d5
mips: enable _machine_restart for spl

The sysreset driver has a config CONFIG_SPL_SYSRESET for the spl stage.
Change CONFIG_SYSRESET to CONFIG_IS_ENABLED(SYSRESET) will give spl a
chance to use _machine_restart instead of the sysreset driver.

Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
arch/mips/cpu/cpu.c