From patchwork Tue Jan 16 08:44:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 124617 Delivered-To: patch@linaro.org Received: by 10.46.64.148 with SMTP id r20csp940124lje; Tue, 16 Jan 2018 00:46:14 -0800 (PST) X-Google-Smtp-Source: ACJfBosrWwWE3vRCQQsWqMUG2yXay9NSNlFxla4mLwKYkriSxWqIsfMAQ0/PbekO2sEssrTOtbvs X-Received: by 10.80.241.215 with SMTP id y23mr24842528edl.204.1516092374245; Tue, 16 Jan 2018 00:46:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516092374; cv=none; d=google.com; s=arc-20160816; b=BmSdombnCDZR0teSbxd3Lpf35fIsnQcv4u58rn3pMoTZRqrNQvNtkBV7Zav+SQgOua Futx20ijYMpWVKcgRWJZMFOESLy6auini2zMAZWG8qlcomKu0d39zY6xme8sVabv6SIW gVD1zm9mBAPzSNdFkMXDFjjI7kAWVGdx3VqWCuKfOZDj5TIBdjFy3ZJM7ZbGr07ByIAw irDi+JURHX6Kb4yluCSa+yvbrGfhL/JTYZd0hRCzVkbeOoPxNUXtDglAAEx6fyI0IcOo WXW7JuDBQe7+VCGl/Zxg1katB/q+3XaJW1Yc8pIv2wCRyhLdAcEp00P/DrHL3g23esfi VFJQ== 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:cc:references:in-reply-to:message-id :date:to:from:arc-authentication-results; bh=TRfRfDKVSyUJBNk59wbHuiAVkj/SOp89/qTjZZtbwys=; b=Hwrgk5EvfI1WMjECVR31oV9+8wLZsum0s1GihGCWxYTkec2MIuuuA7LsC6lTRtvxIJ q0JCqZHH0dQ4DYXBRfYBTEEQY9rFQCvpPOA0DlWzMcrtpJmqc/y/pF09rucjTHMNaugx 9t1Jf9Gh0cnMCxp/EFVs7OusItSiQ86k+Ow+cpCbnZj7Hth7/WbKcP3EtPG5ByrtqNUx VLsshgO0RGeatY2cIHbzvETW8YlL/7sF2LGPeEw9ihI86PdwAeiTHZ8Idxr70LNNP5v5 VYbmqjlcA1RAxGjDME4OF6qv99SMzHr4EEY2zrnu71NSaB2/IROzgsoKAFb9JTN4XxuN FayA== ARC-Authentication-Results: i=1; mx.google.com; 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 b56si1792723eda.69.2018.01.16.00.46.13; Tue, 16 Jan 2018 00:46:14 -0800 (PST) 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; 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 B3362C21DF3; Tue, 16 Jan 2018 08:45:16 +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 71BDDC21DF3; Tue, 16 Jan 2018 08:44:31 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id DE782C21DA6; Tue, 16 Jan 2018 08:44:27 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 99173C21DA5 for ; Tue, 16 Jan 2018 08:44:27 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 72F32208AE; Tue, 16 Jan 2018 09:44:26 +0100 (CET) Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 4A80720726; Tue, 16 Jan 2018 09:44:26 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Tue, 16 Jan 2018 09:44:23 +0100 Message-Id: <20180116084424.17801-12-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180116084424.17801-1-maxime.ripard@free-electrons.com> References: <20180116084424.17801-1-maxime.ripard@free-electrons.com> Cc: Andre Przywara , agraf@suse.de, u-boot@lists.denx.de, Maxime Ripard , Jagan Teki Subject: [U-Boot] [PATCH v2 11/12] Makefile: Add size check to the u-boot.itb make target 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" The make macro to check if the binary exceeds the board size limit is not called. Make sure that is the case. Signed-off-by: Maxime Ripard --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 4981a2ed6f4a..719521950360 100644 --- a/Makefile +++ b/Makefile @@ -1053,6 +1053,7 @@ u-boot-dtb.img u-boot.img u-boot.kwb u-boot.pbl u-boot-ivt.img: \ u-boot.itb: u-boot-nodtb.bin dts/dt.dtb $(U_BOOT_ITS) FORCE $(call if_changed,mkfitimage) + $(BOARD_SIZE_CHECK) u-boot-spl.kwb: u-boot.img spl/u-boot-spl.bin FORCE $(call if_changed,mkimage)