From patchwork Sun Jun 23 20:56:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Dureghello X-Patchwork-Id: 1120912 X-Patchwork-Delegate: jason.jin@freescale.com 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=sysam.it Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45X4V704Gxz9s4V for ; Mon, 24 Jun 2019 06:56:44 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 9F4C1C21EDC; Sun, 23 Jun 2019 20:56:38 +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 ED845C21D74; Sun, 23 Jun 2019 20:56:35 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 47E22C21D74; Sun, 23 Jun 2019 20:56:34 +0000 (UTC) Received: from sysam.it (static.187.34.201.195.clients.your-server.de [195.201.34.187]) by lists.denx.de (Postfix) with ESMTP id E5A90C21D4A for ; Sun, 23 Jun 2019 20:56:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sysam.it (Postfix) with ESMTP id F39743FE94; Sun, 23 Jun 2019 22:56:32 +0200 (CEST) Received: from sysam.it ([127.0.0.1]) by localhost (mail.sysam.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z0yYIV05i-sA; Sun, 23 Jun 2019 22:56:32 +0200 (CEST) Received: from localhost.localdomain (host105-54-dynamic.182-80-r.retail.telecomitalia.it [80.182.54.105]) by sysam.it (Postfix) with ESMTPSA id 9AFBC3FE92; Sun, 23 Jun 2019 22:56:32 +0200 (CEST) From: Angelo Dureghello To: trini@konsulko.com Date: Sun, 23 Jun 2019 22:56:29 +0200 Message-Id: <20190623205629.6324-1-angelo@sysam.it> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Cc: u-boot@lists.denx.de, Angelo Dureghello Subject: [U-Boot] [PATCH 1/2] board: amcore: fix u-boot mtd partition 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: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Signed-off-by: Angelo Dureghello --- include/configs/amcore.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/configs/amcore.h b/include/configs/amcore.h index 4daa0bafe8..6349cf90bc 100644 --- a/include/configs/amcore.h +++ b/include/configs/amcore.h @@ -15,15 +15,15 @@ #define CONFIG_SYS_UART_PORT 0 #define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 } -#define CONFIG_BOOTCOMMAND "bootm ffc20000" +#define CONFIG_BOOTCOMMAND "bootm ffc30000" #define CONFIG_EXTRA_ENV_SETTINGS \ "upgrade_uboot=loady; " \ - "protect off 0xffc00000 0xffc1ffff; " \ - "erase 0xffc00000 0xffc1ffff; " \ + "protect off 0xffc00000 0xffc2ffff; " \ + "erase 0xffc00000 0xffc2ffff; " \ "cp.b 0x20000 0xffc00000 ${filesize}\0" \ "upgrade_kernel=loady; " \ - "erase 0xffc20000 0xffefffff; " \ - "cp.b 0x20000 0xffc20000 ${filesize}\0" \ + "erase 0xffc30000 0xffefffff; " \ + "cp.b 0x20000 0xffc30000 ${filesize}\0" \ "upgrade_jffs2=loady; " \ "erase 0xfff00000 0xffffffff; " \ "cp.b 0x20000 0xfff00000 ${filesize}\0" @@ -62,7 +62,7 @@ #define CONFIG_SYS_WRITE_SWAPPED_DATA /* reserve 128-4KB */ #define CONFIG_SYS_MONITOR_BASE (CONFIG_SYS_FLASH_BASE + 0x400) -#define CONFIG_SYS_MONITOR_LEN ((128 - 4) * 1024) +#define CONFIG_SYS_MONITOR_LEN ((192 - 4) * 1024) #define CONFIG_SYS_MALLOC_LEN (1 * 1024 * 1024) #define CONFIG_SYS_BOOTPARAMS_LEN (64 * 1024)