From patchwork Mon Mar 27 13:38:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Majewski X-Patchwork-Id: 743822 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3vsFVw1kMZz9s76 for ; Tue, 28 Mar 2017 00:39:20 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id F302FC21C39; Mon, 27 Mar 2017 13:39:11 +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=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL 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 B4CF7C21BE6; Mon, 27 Mar 2017 13:39:09 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 06142C21BE6; Mon, 27 Mar 2017 13:39:07 +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 B024DC21BE5 for ; Mon, 27 Mar 2017 13:39:07 +0000 (UTC) Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3vsFVg2xbMz1qrG1; Mon, 27 Mar 2017 15:39:07 +0200 (CEST) Received: from localhost (dynscan01.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3vsFVg27kvz3hqXC; Mon, 27 Mar 2017 15:39:07 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan01.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id llVe-d3BVfRn; Mon, 27 Mar 2017 15:39:06 +0200 (CEST) X-Auth-Info: UfHtrE3hESPWR/6n+ZiuGAdfspLqdK/CqmKJqP9xgFo= Received: from localhost.localdomain (89-77-92-62.dynamic.chello.pl [89.77.92.62]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Mon, 27 Mar 2017 15:39:06 +0200 (CEST) From: Lukasz Majewski To: Stefano Babic , u-boot@lists.denx.de, Tom Rini Date: Mon, 27 Mar 2017 15:38:46 +0200 Message-Id: <1490621926-3037-1-git-send-email-lukma@denx.de> X-Mailer: git-send-email 2.1.4 Subject: [U-Boot] [PATCH] MCCMON6: defconfig: Add tftp_nor_dtb command for NOR DTB update 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" Signed-off-by: Lukasz Majewski --- include/configs/mccmon6.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/configs/mccmon6.h b/include/configs/mccmon6.h index 8c72455..46ca32e 100644 --- a/include/configs/mccmon6.h +++ b/include/configs/mccmon6.h @@ -270,6 +270,14 @@ "if tftpboot ${nor_img_addr} ${nor_img_file}; then " \ "run nor_update;" \ "fi\0" \ + "tftp_nor_dtb="\ + "echo 'Update mccmon6 NOR DTB via TFTP'; " \ + "setenv nor_img_file imx6q-mccmon6.dtb; " \ + "setenv nor_img_size 0x20000; " \ + "setenv nor_bank_start 0x09980000; " \ + "if tftpboot ${nor_img_addr} ${nor_img_file}; then " \ + "run nor_update;" \ + "fi\0" \ "tftp_nor_img="\ "echo 'Update mccmon6 NOR image via TFTP'; " \ "if tftpboot ${nor_img_addr} ${nor_img_file}; then " \