OSDN Git Service

staging: mt7621-dts: allow gnubee to reboot cleanly.
authorNeilBrown <neil@brown.name>
Sun, 9 Dec 2018 05:20:32 +0000 (16:20 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Dec 2018 10:55:39 +0000 (11:55 +0100)
commit90dedc973b867afe514e13c4c3de3e03aa1ee951
tree9e0677b07963f79d6bbd64909948b8e141221c00
parent84519a4b0fae9e20085cef0369aa6a5d144860e4
staging: mt7621-dts: allow gnubee to reboot cleanly.

Since commit bb276262e88d ("mtd: spi-nor: only apply reset hacks to
broken hardware"), we need to mark the spi-nor as "broken" for reboot
to work.
Note that nothing is actually broken here.  The hardware-watchdog in
the SoC isn't wired in a way that works, but then the board doesn't
claim to support a hardware watchdog - and the SPI certain isn't
"broken".

This causes an annoying warning on every boot, but that is better than
failing on ever reboot.

Signed-off-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-dts/gbpc1.dts