Patchwork [U-Boot] Always build u-boot.img when using CONFIG_SPL_FRAMEWORK

login
register
mail settings
Submitter Henrik Nordström
Date Aug. 21, 2013, 7:27 p.m.
Message ID <1377113230.11553.2.camel@localhost>
Download mbox | patch
Permalink /patch/268897/
State Superseded
Delegated to: Tom Rini
Headers show

Comments

Henrik Nordström - Aug. 21, 2013, 7:27 p.m.
From 015f65db8c6c01fe527f2f88af255ecdb5e2c58d Mon Sep 17 00:00:00 2001
From: Henrik Nordstrom <henrik@henriknordstrom.net>
Date: Wed, 21 Aug 2013 21:20:47 +0200
Subject: [PATCH] Always build u-boot.img when using CONFIG_SPL_FRAMEWORK

Use of uImage formatted u-boot binary have long been preferred, and
recent changes to better support Falcon mode on MMC now enforces it on
MMC.
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

 ALL-$(CONFIG_SPL) += $(obj)$(subst ",,$(CONFIG_SPL_TARGET))

Patch

diff --git a/Makefile b/Makefile
index 43b57da..76dbda9 100644
--- a/Makefile
+++ b/Makefile
@@ -397,6 +397,7 @@  ALL-y += $(obj)u-boot.srec $(obj)u-boot.bin
$(obj)System.map
 ALL-$(CONFIG_NAND_U_BOOT) += $(obj)u-boot-nand.bin
 ALL-$(CONFIG_ONENAND_U_BOOT) += $(obj)u-boot-onenand.bin
 ALL-$(CONFIG_SPL) += $(obj)spl/u-boot-spl.bin
+ALL-$(CONFIG_SPL_FRAMEWORK) += $(obj)u-boot.img
 ALL-$(CONFIG_OF_SEPARATE) += $(obj)u-boot.dtb $(obj)u-boot-dtb.bin
 ifneq ($(CONFIG_SPL_TARGET),)