From patchwork Wed Dec 5 16:48:27 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Coulbourne X-Patchwork-Id: 203903 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id B836F2C0092 for ; Thu, 6 Dec 2012 03:48:40 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id F2A1C101725; Wed, 5 Dec 2012 16:48:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eX4-gLHUCbSX; Wed, 5 Dec 2012 16:48:30 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id D895510162A; Wed, 5 Dec 2012 16:48:29 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id B3EB48F74A for ; Wed, 5 Dec 2012 16:48:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9ACC4814A0 for ; Wed, 5 Dec 2012 16:48:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JjD7lfFxi3C0 for ; Wed, 5 Dec 2012 16:48:30 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f171.google.com (mail-we0-f171.google.com [74.125.82.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id C69F68BC2C for ; Wed, 5 Dec 2012 16:48:29 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id u3so2670093wey.16 for ; Wed, 05 Dec 2012 08:48:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=0L44cZq5oNRqp9iWo5DsTlFQBJtPr43SYoskYwEK6pM=; b=Yw8PzAOU5GiqKNHG3Nq1MOEWgEi6ag7NKbGEOAYDDe1lGFGSzvMiamU0nazF9d5hs2 WRXCmyYw6G7Wsp68vFsbbHErNaCdzEh2cishEJpPfD8tDIvtXxL/2L8zOw1t/P/0Jzu0 B2zMJSolFdurTcr/SwFABFt7uWQPSVo/aIIE8BJnHhqMhXUSBV5DxnO0g4jNH0nfGiED DI7xSiOGnQc+jI9XGilY0mnm0dmFUAJljEIWA0lm/H9swjzL6tFspL07WGuTWTMxXRGB G6PfumT2c84wpp++baf6WvHSLRNtIG9CYHyRRmFNqMsHjn2p7fuUvNVgNBVVLRsVouMM p/Mg== MIME-Version: 1.0 Received: by 10.180.75.208 with SMTP id e16mr4327774wiw.3.1354726107968; Wed, 05 Dec 2012 08:48:27 -0800 (PST) Received: by 10.216.100.2 with HTTP; Wed, 5 Dec 2012 08:48:27 -0800 (PST) X-Originating-IP: [98.114.31.106] Date: Wed, 5 Dec 2012 11:48:27 -0500 Message-ID: From: Gary Coulbourne To: buildroot@busybox.net X-Gm-Message-State: ALoCoQnIAUjbANBVmeIha3as3WHpZpAVw9PMfY45i1b91DJepyP42WepWtquuLJ8vy/LvAtS7i4K Subject: [Buildroot] [PATCH] add support for Freescale .sb format to uboot X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net This patch offers the option to build u-boot.sb --- boot/uboot/Config.in | 4 ++++ boot/uboot/uboot.mk | 3 +++ 2 files changed, 7 insertions(+) -- diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in index d8458d9..9b7a3b0 100644 --- a/boot/uboot/Config.in +++ b/boot/uboot/Config.in @@ -94,6 +94,10 @@ config BR2_TARGET_UBOOT_FORMAT_AIS It is required to load code/data on OMAP-L1 processors. u-boot.ais contains U-Boot with the SPL support. +config BR2_TARGET_UBOOT_FORMAT_SB + depends on BR2_arm + bool "u-boot.sb" + config BR2_TARGET_UBOOT_FORMAT_BIN bool "u-boot.bin" diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk index 619f2e1..4a98583 100644 --- a/boot/uboot/uboot.mk +++ b/boot/uboot/uboot.mk @@ -37,6 +37,9 @@ else ifeq ($(BR2_TARGET_UBOOT_FORMAT_NAND_BIN),y) UBOOT_BIN = u-boot-nand.bin else ifeq ($(BR2_TARGET_UBOOT_FORMAT_IMG),y) UBOOT_BIN = u-boot.img +else ifeq ($(BR2_TARGET_UBOOT_FORMAT_SB),y) +UBOOT_BIN = u-boot.sb +UBOOT_MAKE_TARGET = $(UBOOT_BIN) else UBOOT_BIN = u-boot.bin UBOOT_BIN_IFT = $(UBOOT_BIN).ift