From patchwork Fri Aug 7 06:39:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joyce Ooi X-Patchwork-Id: 1342110 X-Patchwork-Delegate: trini@ti.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=2a01:238:438b:c500:173d:9f52:ddab:ee01; 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 [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BNG1L1wSnz9sPB for ; Fri, 7 Aug 2020 16:39:31 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6BD3681F7C; Fri, 7 Aug 2020 08:39:21 +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 5364282189; Fri, 7 Aug 2020 08:39:19 +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,SPF_HELO_NONE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (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 AD4958158B for ; Fri, 7 Aug 2020 08:39:14 +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: 7D16xixbbv64/L/+gsder2wltySAkWWCV6mFgWW7WlR58v2udyIAqine9jkLDFNHjoz0JCJj4b DwtmEe9DvDow== X-IronPort-AV: E=McAfee;i="6000,8403,9705"; a="152979849" X-IronPort-AV: E=Sophos;i="5.75,444,1589266800"; d="scan'208";a="152979849" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Aug 2020 23:39:12 -0700 IronPort-SDR: Sz3Pfln5RKVG40no5x8p8B5k54j1rfGbvB+IG6sGQb6UXa8Pt4p3zYjZy8PRgxbG3YfrsJ0zpQ MAE7w/fuhThA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,444,1589266800"; d="scan'208";a="325657593" Received: from pg-nxl3.altera.com ([10.142.129.93]) by fmsmga002.fm.intel.com with ESMTP; 06 Aug 2020 23:39:08 -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 v2] configs: socfpga: add kernel parameter for immediate reboot Date: Fri, 7 Aug 2020 14:39:01 +0800 Message-Id: <20200807063901.24842-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 occur immediately (without a delay). Signed-off-by: Joyce Ooi --- 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"