From 63437b3ecfef5acf322aa827fd6430c43d444269 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Thu, 3 Oct 2013 17:13:39 +0200 Subject: colibri_vf50: migrate nand vs. sdboot configuration Migrate to default NAND boot configuration (e.g. colibri_vf50_config) and SD card boot on request (e.g. colibri_vf50_sdboot_config). Automatically do the padding required for NAND boot image (e.g. u-boot.nand). This is also more in-line with how we did stuff back on the Colibri T20. --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fd5b7d0ed3..a8c16f75c8 100644 --- a/Makefile +++ b/Makefile @@ -790,4 +790,14 @@ backup: F=`basename $(TOPDIR)` ; cd .. ; \ gtar --force-local -zcvf `LC_ALL=C date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F +ifeq ($(BOARD),colibri_vf50) +.DEFAULT_GOAL := u-boot.imx +ifeq ($(CONFIG_NANDBOOT),y) +.DEFAULT_GOAL := u-boot.nand +u-boot.nand: u-boot.imx + dd if=/dev/zero of=u-boot-pad bs=1024 count=1 + cat u-boot-pad u-boot.imx > u-boot.nand +endif +endif + ######################################################################### -- cgit v1.2.3