From patchwork Tue Dec 28 00:47:08 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Rigby X-Patchwork-Id: 76811 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 4D8E2B7063 for ; Tue, 28 Dec 2010 11:49:12 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 16B67280FB; Tue, 28 Dec 2010 01:48:35 +0100 (CET) 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 3ndTcjpJVuft; Tue, 28 Dec 2010 01:48:34 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 334EC28127; Tue, 28 Dec 2010 01:48:08 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 097E128121 for ; Tue, 28 Dec 2010 01:48:04 +0100 (CET) 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 FIl+NqbQa9Kw for ; Tue, 28 Dec 2010 01:48:02 +0100 (CET) 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-px0-f172.google.com (mail-px0-f172.google.com [209.85.212.172]) by theia.denx.de (Postfix) with ESMTP id 31133280D1 for ; Tue, 28 Dec 2010 01:47:45 +0100 (CET) Received: by mail-px0-f172.google.com with SMTP id 6so2031828pxi.3 for ; Mon, 27 Dec 2010 16:47:45 -0800 (PST) Received: by 10.142.231.12 with SMTP id d12mr4534766wfh.114.1293497265581; Mon, 27 Dec 2010 16:47:45 -0800 (PST) Received: from localhost.localdomain (c-98-202-243-83.hsd1.ut.comcast.net [98.202.243.83]) by mx.google.com with ESMTPS id b11sm18438929wff.9.2010.12.27.16.47.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 27 Dec 2010 16:47:45 -0800 (PST) From: John Rigby To: u-boot@lists.denx.de Date: Mon, 27 Dec 2010 17:47:08 -0700 Message-Id: <1293497228-15911-9-git-send-email-john.rigby@linaro.org> X-Mailer: git-send-email 1.7.3.1.120.g38a18 In-Reply-To: <1293497228-15911-1-git-send-email-john.rigby@linaro.org> References: <1293497228-15911-1-git-send-email-john.rigby@linaro.org> Cc: steve@sakoman.com Subject: [U-Boot] [RFC PATCH 8/8] OMAP3: Add ift target to top level Makefile X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 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 Signed-off-by: John Rigby --- Makefile | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 9055028..baf11b3 100644 --- a/Makefile +++ b/Makefile @@ -289,8 +289,13 @@ LDPPFLAGS += \ ifeq ($(CONFIG_NAND_U_BOOT),y) NAND_SPL = nand_spl +ifeq ($(CONFIG_OMAP3430),y) +U_BOOT_SPL_IFT=u-boot-spl.ift +ALL+=$(U_BOOT_SPL_IFT) +else U_BOOT_NAND = $(obj)u-boot-nand.bin endif +endif ifeq ($(CONFIG_ONENAND_U_BOOT),y) ONENAND_IPL = onenand_ipl @@ -407,6 +412,10 @@ $(NAND_SPL): $(TIMESTAMP_FILE) $(VERSION_FILE) depend $(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot.bin cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin +$(U_BOOT_SPL_IFT): $(NAND_SPL) $(obj)u-boot.bin + $(obj)tools/mkimage -T omapimage \ + -a $(CONFIG_SYS_NAND_SPL_TEXT_BASE) -d $(obj)nand_spl/u-boot-spl.bin $@ + $(ONENAND_IPL): $(TIMESTAMP_FILE) $(VERSION_FILE) $(obj)include/autoconf.mk $(MAKE) -C onenand_ipl/board/$(BOARDDIR) all