[U-Boot] [PATCH] arm: socfpga: add kernel parameter for immediate reboot

Ooi, Joyce joyce.ooi at intel.com
Thu Nov 21 15:09:48 UTC 2019


Add Linux kernel line parameters for Stratix10 U-Boot.
The "panic=-1" indicates the reset should occur immediately
(without a delay)

Signed-off-by: Thor Thayer <thor.thayer at linux.intel.com>
Signed-off-by: Ooi, Joyce <joyce.ooi at intel.com>
---
 include/configs/socfpga_stratix10_socdk.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/socfpga_stratix10_socdk.h b/include/configs/socfpga_stratix10_socdk.h
index 8e6ecf4..09ea066 100644
--- a/include/configs/socfpga_stratix10_socdk.h
+++ b/include/configs/socfpga_stratix10_socdk.h
@@ -88,7 +88,7 @@ unsigned int cm_get_qspi_controller_clk_hz(void);
  * CONFIG_BOOTARGS goes into the environment value "bootargs".
  * Do note the value will override also the chosen node in FDT blob.
  */
-#define CONFIG_BOOTARGS "earlycon"
+#define CONFIG_BOOTARGS "earlycon panic=-1"
 #define CONFIG_BOOTCOMMAND "run fatscript; run mmcload;run linux_qspi_enable;" \
 			   "run mmcboot"
 
-- 
1.9.1



More information about the U-Boot mailing list