From a03182ad020e01744f783a8668c29cc6e8008122 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Thu, 1 Dec 2011 12:04:58 -0300 Subject: [PATCH] u-boot: add support for u-boot-nand.bin Add support for the u-boot-nand.bin target file. Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- boot/uboot/Config.in | 3 +++ boot/uboot/uboot.mk | 2 ++ 2 files changed, 5 insertions(+) diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in index dd49a2c230..f154bd1233 100644 --- a/boot/uboot/Config.in +++ b/boot/uboot/Config.in @@ -85,6 +85,9 @@ choice config BR2_TARGET_UBOOT_FORMAT_BIN bool "u-boot.bin" +config BR2_TARGET_UBOOT_FORMAT_NAND_BIN + bool "u-boot-nand.bin" + config BR2_TARGET_UBOOT_FORMAT_KWB depends on BR2_arm bool "u-boot.kwb (Marvell)" diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk index cf22312113..db9de8d3cd 100644 --- a/boot/uboot/uboot.mk +++ b/boot/uboot/uboot.mk @@ -27,6 +27,8 @@ UBOOT_BIN = u-boot.kwb UBOOT_MAKE_TARGET = $(UBOOT_BIN) else ifeq ($(BR2_TARGET_UBOOT_FORMAT_LDR),y) UBOOT_BIN = u-boot.ldr +else ifeq ($(BR2_TARGET_UBOOT_FORMAT_NAND_BIN),y) +UBOOT_BIN = u-boot-nand.bin else UBOOT_BIN = u-boot.bin endif -- 2.30.2