From patchwork Fri May 3 13:24:44 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 241311 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 628FE2C00D4 for ; Fri, 3 May 2013 23:25:04 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 126BD4A388; Fri, 3 May 2013 15:25:03 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6-HdYfxsQ2qr; Fri, 3 May 2013 15:25:02 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 010944A36A; Fri, 3 May 2013 15:25:01 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8A7C94A36A for ; Fri, 3 May 2013 15:24:55 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5AFEdwvcy4yj for ; Fri, 3 May 2013 15:24:49 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-gg0-f179.google.com (mail-gg0-f179.google.com [209.85.161.179]) by theia.denx.de (Postfix) with ESMTPS id 81F474A340 for ; Fri, 3 May 2013 15:24:43 +0200 (CEST) Received: by mail-gg0-f179.google.com with SMTP id i2so256494ggm.10 for ; Fri, 03 May 2013 06:24:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:subject:date:message-id:x-mailer :in-reply-to:references; bh=DyQ9zyAjoR8dvrXRa6B/0tnj0n7BktLlomvJul2qqhY=; b=iF+4v6XP9D3KgKFuEu8/DH8nn+bEBOZWoexVqr7W4S75/+RGAlM0iJ1uU7vTY78XgK F5izhc9mZVEv+Ptka22FG8eirAeCu/+qqYSYyDKthjUQM9r2W41VDSkm1W2qlkola39q Jmw44nToSbHch/Mz8z1zQBcymIB7LbEcgDI8YdVlMM4AC4J5NsQJyLKTKHx1jWa6J1h6 T+HECdHEinP68i+5Bpw3XjChIQDr2RrkBzN8DuyDa/ldm6mV+6f0vNEDQXzjUaH1Wn+4 lQNgtp3/J175Jo0dm/1G1ptiNTz+eF/l+y74H9whRZZTiUG7zp8bJhQ0B87t0g64srBQ QwIg== X-Received: by 10.236.149.166 with SMTP id x26mr9009235yhj.74.1367587482651; Fri, 03 May 2013 06:24:42 -0700 (PDT) Received: from localhost.localdomain (cpe-065-184-250-089.ec.res.rr.com. [65.184.250.89]) by mx.google.com with ESMTPSA id v27sm21228148yhj.12.2013.05.03.06.24.40 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 06:24:41 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Date: Fri, 3 May 2013 09:24:44 -0400 Message-Id: <1367587484-18137-1-git-send-email-trini@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1367536546-8886-1-git-send-email-afleming@freescale.com> References: <1367536546-8886-1-git-send-email-afleming@freescale.com> Subject: [U-Boot] [PATCH] P1022DS: Set CONFIG_SPL_MAX_SIZE directly X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de With the u-boot-with-spl.bin rule calling $(OBJCOPY) with CONFIG_SPL_PAD_TO, and CONFIG_SPL_PAD_TO defaulting to CONFIG_SPL_MAX_SIZE we cannot use math here, so set it to 4096 rather than 4 * 1024. Signed-off-by: Tom Rini --- include/configs/P1022DS.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h index b282e7b..8b13b10 100644 --- a/include/configs/P1022DS.h +++ b/include/configs/P1022DS.h @@ -47,7 +47,7 @@ #define CONFIG_SYS_TEXT_BASE 0x00201000 #define CONFIG_SPL_TEXT_BASE 0xfffff000 -#define CONFIG_SPL_MAX_SIZE (4 * 1024) +#define CONFIG_SPL_MAX_SIZE 4096 #define CONFIG_SPL_RELOC_TEXT_BASE 0x00100000 #define CONFIG_SPL_RELOC_STACK 0x00100000 #define CONFIG_SYS_NAND_U_BOOT_SIZE ((512 << 10) + CONFIG_SPL_MAX_SIZE)