From patchwork Tue May 7 08:37:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Muellner X-Patchwork-Id: 1096200 X-Patchwork-Delegate: ykai007@gmail.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=theobroma-systems.com Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44ytJw4TkWz9sB3 for ; Tue, 7 May 2019 18:37:36 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 3F822C21C27; Tue, 7 May 2019 08:37:33 +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 CCCF5C21C38; Tue, 7 May 2019 08:37:30 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id BB5CBC21C4A; Tue, 7 May 2019 08:37:28 +0000 (UTC) Received: from mail.theobroma-systems.com (vegas.theobroma-systems.com [144.76.126.164]) by lists.denx.de (Postfix) with ESMTPS id 81DB1C21C27 for ; Tue, 7 May 2019 08:37:28 +0000 (UTC) Received: from ip092042140082.rev.nessus.at ([92.42.140.82]:55740 helo=purcell.lan) by mail.theobroma-systems.com with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1hNvbK-0006vN-Um; Tue, 07 May 2019 10:37:27 +0200 From: Christoph Muellner To: u-boot@lists.denx.de Date: Tue, 7 May 2019 10:37:22 +0200 Message-Id: <20190507083722.44876-1-christoph.muellner@theobroma-systems.com> X-Mailer: git-send-email 2.11.0 Subject: [U-Boot] [PATCH] rockchip: rk3399-puma: Move ENV_OFFSET to end of SPI NOR. 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" Puma SoMs have a 4 MB SPI NOR flash. Therefore we can move the environment to the end of the flash (4 MiB - 16 kiB) in order to not overlap with SPL. Reported-by: Jakob Unterwurzacher Signed-off-by: Christoph Muellner Reviewed-by: Simon Glass Reviewed-by: Kever Yang --- board/theobroma-systems/puma_rk3399/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/theobroma-systems/puma_rk3399/Kconfig b/board/theobroma-systems/puma_rk3399/Kconfig index 8a94cbd9ed..9e23252754 100644 --- a/board/theobroma-systems/puma_rk3399/Kconfig +++ b/board/theobroma-systems/puma_rk3399/Kconfig @@ -16,6 +16,6 @@ config ENV_SIZE default 0x2000 config ENV_OFFSET - default 0x3c000 if ENV_IS_IN_SPI_FLASH + default 0x3fc000 if ENV_IS_IN_SPI_FLASH endif