> -----Original Message-----
> From: Ooi, Joyce <joyce....@intel.com>
> Sent: Friday, August 7, 2020 2:39 PM
> To: Simon Goldschmidt <simon.k.r.goldschm...@gmail.com>; Tan, Ley Foon
> <ley.foon....@intel.com>; Miquel Raynal <miquel.ray...@bootlin.com>;
> Boris Brezillon <bbrezil...@kernel.org>; Marek Vasut <ma...@denx.de>;
> Ashok Reddy Soma <ashok.reddy.s...@xilinx.com>; Hannes Schmelzer
> <hannes.schmel...@br-automation.com>
> Cc: u-boot@lists.denx.de; Ooi, Joyce <joyce....@intel.com>; Lim, Elly Siew
> Chin <elly.siew.chin....@intel.com>; See, Chin Liang
> <chin.liang....@intel.com>; Nguyen, Dinh <dinh.ngu...@intel.com>
> Subject: [PATCH v2] configs: socfpga: add kernel parameter for immediate
> reboot
> 
> From: Joyce Ooi <joyce....@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....@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"
Hi Joyce

Just noticed CONFIG_BOOTARGS is supported in Kconfig now.
Can you move this #define to Stratix10 and Agilex *_defconfig?

Regards
Ley Foon

Reply via email to