Skip to content

Commit 3460169

Browse files
committed
aarch64/styx-dcp-sc-28p-a: Fix warm reset on old rev. a boards
Rev. A has a FLASH that Linux reconfigures to 4B-addressing, but must be in 3B-addressing when accessed by the BootROM. Since it has no reset input, this would not work on warm resets. Linux has a workaround for this issue for the common case of a controlled reboot, which this change enables on those boards (which are admittedly few and far between, but still useful as testing vehicles). (This won't take effect until Finit is updated to at least 4.15, which switches over from watchdog- to reboot(2)- based reboot, by default)
1 parent d720323 commit 3460169

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

board/aarch64/styx-dcp-sc-28p/dts/styx/dcp-sc-28p-a.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,9 @@
5959
XSWP(a, "e13", 13, &sfp0);
6060
};
6161
};
62+
63+
&cp0_spi1 {
64+
spi-flash@0 {
65+
broken-flash-reset;
66+
};
67+
};

0 commit comments

Comments
 (0)