From patchwork Thu Dec 21 12:40:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 122557 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp836524qgn; Thu, 21 Dec 2017 04:47:33 -0800 (PST) X-Google-Smtp-Source: ACJfBov6H53H4vNQlIA3mOO2legwbW1X5tSFLCPf/rPOS+9a2p3dUHPtsctXkoJB2s/IlurGVJQ5 X-Received: by 10.80.149.152 with SMTP id w24mr10255631eda.76.1513860453261; Thu, 21 Dec 2017 04:47:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513860453; cv=none; d=google.com; s=arc-20160816; b=RZjlUJc+0LC7IwQd4FZq54KhXo6F4fMbIzbr+EZCS9G8auD8zuINL3dy63p36Yscv+ 9ZdDYSDyR5MynZ6ZmuTCo85CR9NXAAaBzuynTbhh0DJYVSf3N8JsomX4hDj+o6fuvw9P EpZzSJa9MXjQQlwWVCZjiaf99Ldu765tCr0Ja+DTevIJK25sAypgq1+MiO1bR1UZTo/Z gPkOsBVdFN5baBVEuBNo32XzlruqgjVdVtGm30QpUMuNxnUbZOjg/Su5AaU2NPaKmVXr xkBPOc74FMN2g10mAOnjAOCc3ODcinT2+DVmmEp6It6VwtxvaGcBlBGIOc1QfvqK6TST UrJg== 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=WGDJEhJi3M7zedX0zdl264c+m/qO053DgK+0f7UN0R4=; b=myQjTTrkYJ2DdU1GzSHtz4LEFlV0jRY/aoXNgFzpbzCAraOAT+ASPwWux+I//SFyrr sHm3bbMkaol34fNaXPHatROlI8tvk+Eaw+J/7XjHu4dYbDLRL/qdanw3iH6L9Qy1pe/Q xwQ4jokhcjpQvbf+XHk9cnRFFlDfDxlgj0YprknP8iDJIVw6dBnQeH8XeG33TpCeVQsc +Pa3BKDobnTTwQdWRBlq/ZBA4W6zDI2gkmJTD1p73t4z3QWaboARXI9KmMSCR52e0XdV h/buJUfn0a9Ol1BKB8k42OM9B1DtP0kTAGhX/nBGiaSpI2k/MGyMxyZPKb20wJwlnUX7 gitw== 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 x27si6827719edb.73.2017.12.21.04.47.33; Thu, 21 Dec 2017 04:47:33 -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 DF3FBC221E0; Thu, 21 Dec 2017 12:43:30 +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 5D853C221CC; Thu, 21 Dec 2017 12:40:54 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id A3EA3C221CA; Thu, 21 Dec 2017 12:40:41 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 83287C221C0 for ; Thu, 21 Dec 2017 12:40:36 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id B42C02095A; Thu, 21 Dec 2017 13:40:35 +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 8C7FE203B5; Thu, 21 Dec 2017 13:40:35 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Thu, 21 Dec 2017 13:40:29 +0100 Message-Id: <20171221124030.23721-11-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171221124030.23721-1-maxime.ripard@free-electrons.com> References: <20171221124030.23721-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 10/11] 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 c573ddba95ff..dd26795bb1f3 100644 --- a/Makefile +++ b/Makefile @@ -1022,6 +1022,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)