From patchwork Wed Sep 23 17:25:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Harkin X-Patchwork-Id: 54059 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by patches.linaro.org (Postfix) with ESMTPS id 00E0C22E14 for ; Wed, 23 Sep 2015 17:26:43 +0000 (UTC) Received: by lagj9 with SMTP id j9sf27343258lag.0 for ; Wed, 23 Sep 2015 10:26:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:cc:subject:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version :content-type:content-transfer-encoding:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list; bh=78SAqiD4u6oZZug7vWqQWbcPZk59tmPUJiWkNWi+gRA=; b=jR+kSnoEEGzeBrmr2+1s9NU65E4l2+sx14yIH9KIxa398A1Rj2qbAgtNUj2VscjnCY Brb6M6JN/GCsrYqaUm1heBXtTPzydqHnf2MmRyCMFansrk2DHIMkvL/mg68aelduU2tk j9yYuPVQGbzN0pKHXwyNBy/r1oK6TaCcViRKSecqjNHebzj7jHusMyeEtC/0cl//SLn+ 1bjIlmi9qCk1wYv+aoKqdkx7ZP0O4O/Rb8kEmZkV/eRANssx0Nybn6Ttmh6jk52HAMXr MdLtbEh4HSMJag+zGFUE+gH2JG64ZSBgOPr2cnOdltnueREq1/N1bMKF6bvdws79OvBS W1HA== X-Gm-Message-State: ALoCoQncxJp5/UHWz0HvW/f3zPvWHmRopWbaO3grTqoBlkSWv+Yb9e5UwEQhDvgmydrwMi92/907 X-Received: by 10.112.189.105 with SMTP id gh9mr5526930lbc.16.1443029201596; Wed, 23 Sep 2015 10:26:41 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.4.71 with SMTP id i7ls61590lai.11.gmail; Wed, 23 Sep 2015 10:26:41 -0700 (PDT) X-Received: by 10.152.170.162 with SMTP id an2mr1172994lac.9.1443029201459; Wed, 23 Sep 2015 10:26:41 -0700 (PDT) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com. [209.85.215.41]) by mx.google.com with ESMTPS id dn4si2644058lbc.120.2015.09.23.10.26.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Sep 2015 10:26:41 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) client-ip=209.85.215.41; Received: by lahh2 with SMTP id h2so35202814lah.0 for ; Wed, 23 Sep 2015 10:26:41 -0700 (PDT) X-Received: by 10.112.156.167 with SMTP id wf7mr12007528lbb.88.1443029201004; Wed, 23 Sep 2015 10:26:41 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp23133lbq; Wed, 23 Sep 2015 10:26:40 -0700 (PDT) X-Received: by 10.25.155.132 with SMTP id d126mr4205236lfe.33.1443029200537; Wed, 23 Sep 2015 10:26:40 -0700 (PDT) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id z7si4515939lal.94.2015.09.23.10.26.40; Wed, 23 Sep 2015 10:26:40 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5AB8C4B92C; Wed, 23 Sep 2015 19:26:33 +0200 (CEST) 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 YKzyhnDsg1j4; Wed, 23 Sep 2015 19:26:33 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7CCA44B939; Wed, 23 Sep 2015 19:26:31 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A7E8C4B92A for ; Wed, 23 Sep 2015 19:26:25 +0200 (CEST) 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 rqhycDgV4Irn for ; Wed, 23 Sep 2015 19:26:25 +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-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by theia.denx.de (Postfix) with ESMTPS id 134DF4B952 for ; Wed, 23 Sep 2015 19:26:19 +0200 (CEST) Received: by pacex6 with SMTP id ex6so46061967pac.0 for ; Wed, 23 Sep 2015 10:26:18 -0700 (PDT) X-Received: by 10.68.195.3 with SMTP id ia3mr23183729pbc.106.1443029178259; Wed, 23 Sep 2015 10:26:18 -0700 (PDT) Received: from localhost.localdomain ([70.35.39.2]) by smtp.gmail.com with ESMTPSA id fm5sm9061765pab.24.2015.09.23.10.26.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 23 Sep 2015 10:26:17 -0700 (PDT) From: Ryan Harkin To: ryan.harkin@linaro.org, u-boot@lists.denx.de, Albert Aribaud , Tom Rini Date: Wed, 23 Sep 2015 10:25:35 -0700 Message-Id: <1443029143-22313-4-git-send-email-ryan.harkin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1443029143-22313-1-git-send-email-ryan.harkin@linaro.org> References: <1443029143-22313-1-git-send-email-ryan.harkin@linaro.org> Cc: Steve Rae , Masahiro Yamada Subject: [U-Boot] [PATCH 03/11] Kconfig: add CONFIG_SYS_BOOTM_LEN X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: 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" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ryan.harkin@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 As config migrates from board config files to Kconfig, when adding CONFIG_SYS_BOOTM_LEN to a platform, I decided to add Kconfig support for CONFIG_SYS_BOOTM_LEN. Signed-off-by: Ryan Harkin Reviewed-by: Linus Walleij CC: Masahiro Yamada CC: Simon Glass CC: Linus Walleij --- Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Kconfig b/Kconfig index 05a34f7..7783a13 100644 --- a/Kconfig +++ b/Kconfig @@ -190,6 +190,13 @@ config SYS_CLK_FREQ help TODO: Move CONFIG_SYS_CLK_FREQ for all the architecture +config CONFIG_SYS_BOOTM_LEN + hex "Max uImage length" + help + Normally compressed uImages are limited to an uncompressed size of + 8 MBytes. If this is not enough, you can define CONFIG_SYS_BOOTM_LEN + to adjust this setting to your needs. + endmenu # Boot images source "common/Kconfig"