From patchwork Mon Apr 23 06:10:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 133959 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp624006lji; Sun, 22 Apr 2018 23:11:31 -0700 (PDT) X-Google-Smtp-Source: AIpwx49znlzbe5BDnt1RCXruiaAwlTYJmI3paME5rfNVfRur2FblO/AO9tRi2tUSfkr7z4jpG41+ X-Received: by 10.80.136.133 with SMTP id d5mr26968693edd.311.1524463891447; Sun, 22 Apr 2018 23:11:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524463891; cv=none; d=google.com; s=arc-20160816; b=PW/zj9sCQKJKuAQbfdTt31GyrqKkoIGyY/++izTvalf3W73VJduzvfVtwSKJX6uNDB AvPDPiaT+7Zl7tUerOSi3D8W1GMjfNrIY0b2XbvcIazaAPNk039Kd64bzHtQwua6qI0I tUOPl/iNX/zcR3PEDNDEWOGf1lb6KgISMN/cvt+2TfK6p2AYx+E6kNydOZ0m9Qt3paDj ExUh4kS6bA9CO8CPh1C/kYGzRAHcik78HiJdI9TSHjx5+WuDkds/rhiuLMf6fqDRPfKx xVWuL5Gt/x4lPt5NbwAMGQpbMfLrW+NScl6tkWU2NwzChLoJy5UpN4GaFkDHWAf7uYYi 0e3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :dkim-filter:arc-authentication-results; bh=YHM4+YnyZnQogLLYkxmHDIulpvh8JBBx890JH3Fq8aw=; b=s8A8xrWlR2Kul1mF3hRou+CZHpisfo2atB5dAaQOqPqqiMHrVpZXyUiufokrg2+VcC NRhcSnGofa9VQQVs8UgZODbYxkxZ5IyqOZI3Fq03OSIZ6/IiMikRfikbUaR2v2USGcED 7ie63yxSdVy3kVGpEql6O84N51xqqKMPE7XHjBHy3Gx2BJVzQRoHU5/qX/pCwtmvHYZy JuwvYWOkfKYFExd8VAA9+IPkF3CQuTpFKKc1tfVzGU0tUYAuKVyevIZpTeSlNIrNQoTw JYXfmQL3ILWp1OfLBh9zJsuhmrfzW0IgKmv3B9l2eUka/dqVTsmXfilmTvFQIiKZuYkW dhJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=iM64Fcly; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id p30si11739906edc.219.2018.04.22.23.11.31; Sun, 22 Apr 2018 23:11:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=iM64Fcly; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id F2A51C21DCA; Mon, 23 Apr 2018 06:11: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=RCVD_IN_DNSWL_BLOCKED, T_DKIM_INVALID 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 EF04FC21C29; Mon, 23 Apr 2018 06:11:24 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 8E7B3C21C29; Mon, 23 Apr 2018 06:11:23 +0000 (UTC) Received: from conuserg-10.nifty.com (conuserg-10.nifty.com [210.131.2.77]) by lists.denx.de (Postfix) with ESMTPS id 8CD1FC21BE5 for ; Mon, 23 Apr 2018 06:11:22 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-10.nifty.com with ESMTP id w3N6ArKK029652; Mon, 23 Apr 2018 15:10:53 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com w3N6ArKK029652 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1524463853; bh=nsrs8MvjR+KXN/tdRdw3epHSmq85XVGsOyouKBAKIJg=; h=From:To:Cc:Subject:Date:From; b=iM64FclyS2EDCLRSycqgWv67rrJRlXVDUcAguFPK4nOdU/PHZY10bXZaSlN5pBbCo fIekMxUO6U5yevqTwkM2oouLdvN2cQvloj9WK1/dUxaaV6NY7RCkS+Rg4Izj0i1MVn /ntGG7KB/cJ0kxKLriiVSbUMThgfPp2tN9LZKjYDbkygfPqe93Af3ilGtRsk3LcW0t 1vIueo7NemNjMyuJ4Xa70kkU8WLwh808hs3PkjfBIVmubIuXZkKSburTPMbJ5hZr3X JNaIaDKLiFBu0lO4gwYHvC5HUku3sgvDE4blzurX6N116JYcYTpTLEBsvlff4uh6nP RylPM64drxqww== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Mon, 23 Apr 2018 15:10:51 +0900 Message-Id: <1524463851-15802-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Subject: [U-Boot] [PATCH] ARM: uniphier: move SPL stack address 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" Currently, the address region, 0xf8000 - 0x100000, is used for SPL stack for the 32bit SoCs. Because the U-Boot proper image starts from 0x70000, the maximum size of the U-Boot proper image is 544KB (0x70000 - 0xf8000) for the NOR boot mode. Now uniphier_v7_defconfig is almost hitting this size limit. Changing CONFIG_SPL_STACK can raise the size limit with less impact. With this, the size limit will increase to 576KB (0x70000 - 0x100000). If we need to increase it even more, we would be able to change CONFIG_SYS_UBOOT_BASE at the cost of the flashing command changes. Signed-off-by: Masahiro Yamada --- include/configs/uniphier.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h index a00bfd9..f252073 100644 --- a/include/configs/uniphier.h +++ b/include/configs/uniphier.h @@ -219,7 +219,7 @@ #define CONFIG_SPL_TEXT_BASE 0x00100000 #endif -#define CONFIG_SPL_STACK (0x00100000) +#define CONFIG_SPL_STACK (0x00200000) #define CONFIG_SYS_NAND_U_BOOT_OFFS 0x20000