[PATCH v2] configs: socfpga: add kernel parameter for immediate reboot

Ooi, Joyce joyce.ooi at intel.com
Fri Aug 7 08:39:01 CEST 2020


From: Joyce Ooi <joyce.ooi at intel.com>

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

Signed-off-by: Joyce Ooi <joyce.ooi at intel.com>
---
v2: fix typo in commit message
---
 include/configs/socfpga_soc64_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/socfpga_soc64_common.h b/include/configs/socfpga_soc64_common.h
index 7237ec95e34..d51a532a929 100644
--- a/include/configs/socfpga_soc64_common.h
+++ b/include/configs/socfpga_soc64_common.h
@@ -79,7 +79,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"
 
-- 
2.13.0



More information about the U-Boot mailing list