aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts9
1 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts
index 48b5cd53d80..d84d54e39bb 100644
--- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts
@@ -25,6 +25,15 @@
model = "Compex WPJ428";
compatible = "compex,wpj428";
+ chosen {
+ /*
+ * There's a chance that SPI reads fail even though the data itself is alright.
+ * The read result is cached and squashfs can't recover.
+ * Just panic when that happens and hope that next time it doesn't.
+ */
+ bootargs-append = " rootflags=errors=panic";
+ };
+
soc {
rng@22000 {
status = "okay";