From patchwork Fri Aug 7 03:51:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joyce Ooi X-Patchwork-Id: 1342100 X-Patchwork-Delegate: simon.k.r.goldschmidt@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=intel.com Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BNBJS6dPpz9sTF for ; Fri, 7 Aug 2020 13:52:24 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4404482189; Fri, 7 Aug 2020 05:52:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 515818218E; Fri, 7 Aug 2020 05:52:20 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5378782179 for ; Fri, 7 Aug 2020 05:52:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=joyce.ooi@intel.com IronPort-SDR: 31l8KGy/H4ReQrpDB6YUYu1qeVpwsHQJ6h6mCQv2VCgCcBCd1YoerjTBSj6ULgwpzDX12y/esR j+fiy7YNptEQ== X-IronPort-AV: E=McAfee;i="6000,8403,9705"; a="140858679" X-IronPort-AV: E=Sophos;i="5.75,444,1589266800"; d="scan'208";a="140858679" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Aug 2020 20:52:15 -0700 IronPort-SDR: Y+ncPPGHm3cAZrhOZYtIi7QR1H/ARYzQRbt4+3H7dcqE0ALM403mH53XCttzPVQ91TIzWFzB0i c1a26UWUBfBw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,444,1589266800"; d="scan'208";a="316401688" Received: from pg-nxl3.altera.com ([10.142.129.93]) by fmsmga004.fm.intel.com with ESMTP; 06 Aug 2020 20:52:12 -0700 From: "Ooi, Joyce" To: Simon Goldschmidt , Ley Foon Tan , Miquel Raynal , Boris Brezillon , Marek Vasut , Ashok Reddy Soma , Hannes Schmelzer Cc: u-boot@lists.denx.de, Joyce Ooi , Elly Lim Siew Chin , See Chin Liang , Dinh Nguyen Subject: [PATCH] configs: socfpga: add kernel parameter for immediate reboot Date: Fri, 7 Aug 2020 11:51:58 +0800 Message-Id: <20200807035158.107876-1-joyce.ooi@intel.com> X-Mailer: git-send-email 2.13.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean From: Joyce Ooi Add Linux kernel line parameters for socfpga soc64 U-Boot. The "panic=-1" indicates the reset should occue immediately (without a delay). Signed-off-by: Joyce Ooi --- 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"