From patchwork Mon Nov 19 16:45:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume GARDET X-Patchwork-Id: 1000011 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=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=free.fr Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 42zGZD19TZz9s0n for ; Tue, 20 Nov 2018 04:49:56 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id CEC6EC21E85; Mon, 19 Nov 2018 17:48:14 +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=FREEMAIL_FROM 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 0F782C21E70; Mon, 19 Nov 2018 16:46:49 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 57434C21E6A; Mon, 19 Nov 2018 16:46:47 +0000 (UTC) Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5]) by lists.denx.de (Postfix) with ESMTPS id D352EC21F7A for ; Mon, 19 Nov 2018 16:45:17 +0000 (UTC) Received: from localhost.localdomain (unknown [IPv6:2a01:e0a:d7:1620:6e8f:6565:76ba:edc7]) by smtp5-g21.free.fr (Postfix) with ESMTP id CBFF95FF27; Mon, 19 Nov 2018 17:45:12 +0100 (CET) From: Guillaume GARDET To: u-boot@lists.denx.de Date: Mon, 19 Nov 2018 17:45:03 +0100 Message-Id: <20181119164503.10977-1-guillaume.gardet@free.fr> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Cc: Tom Rini , Guillaume GARDET Subject: [U-Boot] [PATCH] exynos5: allow bigger BL2 (u-boot.bin) 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" This patch allows SPL to load a bigger BL2 (u-boot.bin). This is needed for and has been tested on Arndale board, as u-boot.bin is now bigger than 512K with GCC8. Signed-off-by: Guillaume GARDET Cc: Minkyu Kang Cc: Tom Rini --- include/configs/exynos5-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/exynos5-common.h b/include/configs/exynos5-common.h index cd2a9046af..7da4be5ca8 100644 --- a/include/configs/exynos5-common.h +++ b/include/configs/exynos5-common.h @@ -89,7 +89,7 @@ /* Configuration of BL1, BL2, ENV Blocks on mmc */ #define CONFIG_RES_BLOCK_SIZE (512) #define CONFIG_BL1_SIZE (16 << 10) /*16 K reserved for BL1*/ -#define CONFIG_BL2_SIZE (512UL << 10UL) /* 512 KB */ +#define CONFIG_BL2_SIZE (512UL << 11UL) /* 1 MB */ #define CONFIG_ENV_SIZE (16 << 10) /* 16 KB */ #define CONFIG_BL1_OFFSET (CONFIG_RES_BLOCK_SIZE + CONFIG_SEC_FW_SIZE)