Skip to content

Commit

Permalink
staging: mt7621-dts: allow gnubee to reboot cleanly.
Browse files Browse the repository at this point in the history
Since commit bb27626 ("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>
  • Loading branch information
neilbrown authored and gregkh committed Dec 12, 2018
1 parent 84519a4 commit 90dedc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/staging/mt7621-dts/gbpc1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <50000000>;
broken-flash-reset;

partition@0 {
label = "u-boot";
Expand Down

0 comments on commit 90dedc9

Please sign in to comment.