From patchwork Wed May 8 14:23:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Majewski X-Patchwork-Id: 1097057 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44zdxb6SkMz9s4V for ; Thu, 9 May 2019 00:23:31 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id DF141C21E1E; Wed, 8 May 2019 14:23:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 96E40C21C8B; Wed, 8 May 2019 14:23:24 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 19740C21C8B; Wed, 8 May 2019 14:23:23 +0000 (UTC) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by lists.denx.de (Postfix) with ESMTPS id C7792C21BE5 for ; Wed, 8 May 2019 14:23:22 +0000 (UTC) Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 44zdxQ4V6yz1rcqf; Wed, 8 May 2019 16:23:22 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 44zdxQ40gXz1qqkH; Wed, 8 May 2019 16:23:22 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id xudC3GN8-D3a; Wed, 8 May 2019 16:23:21 +0200 (CEST) X-Auth-Info: 6Q2SPH6n3zjmcVcRmYhe843hRX3oCilIiZmluMtsBWo= Received: from localhost.localdomain (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Wed, 8 May 2019 16:23:21 +0200 (CEST) From: Lukasz Majewski To: u-boot@lists.denx.de, Stefano Babic , Fabio Estevam Date: Wed, 8 May 2019 16:23:09 +0200 Message-Id: <20190508142309.6775-1-lukma@denx.de> X-Mailer: git-send-email 2.11.0 Subject: [U-Boot] [PATCH v1] config: Update KP's imx53 HSC config to pass key pressed information X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The information about pressed key is relevant in performing correct update and recovery scenarios via USB pendrive. This commit modifies envs to provide it. Signed-off-by: Lukasz Majewski --- include/configs/kp_imx53.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/kp_imx53.h b/include/configs/kp_imx53.h index 9c7c908453..55bfa0fe59 100644 --- a/include/configs/kp_imx53.h +++ b/include/configs/kp_imx53.h @@ -44,6 +44,7 @@ "updargs=setenv bootargs console=${console} ${smp} ${displayargs}\0" \ "initrd_ram_dev=/dev/ram\0" \ "addswupdate=setenv bootargs ${bootargs} root=${initrd_ram_dev} rw\0" \ + "addkeys=setenv bootargs ${bootargs} di=${dig_in} key1=${key1}\0" \ "loadusb=usb start; " \ "fatload usb 0 ${loadaddr} ${upd_image}\0" \ "up=if tftp ${loadaddr} ${uboot_file}; then " \ @@ -62,6 +63,7 @@ "run updargs; " \ "run addinitrd; " \ "run addswupdate; " \ + "run addkeys; " \ "run loadusb; " \ "bootm ${loadaddr}#${fit_config}\0" \ BOOTENV