summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-03-11 16:13:25 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-03-12 11:04:33 +0100
commit1512479a6e2c6bf3a2a92db59d27f800a924bf06 (patch)
treedbb42a4594467034429b13d7ba848ae06a6362bb /arch/arm/mach-imx/Makefile
parentd8910405cb2b89b285f3bb092f4089ced6b77ae0 (diff)
downloadbarebox-1512479a6e2c6bf3a2a92db59d27f800a924bf06.tar.gz
barebox-1512479a6e2c6bf3a2a92db59d27f800a924bf06.tar.xz
ARM: i.MX: Add bbu handler for external NAND boot
The external NAND boot code currently does not handle bad blocks correctly on 2k NAND flashes. This patch adds a barebox_update handler for external NAND boot which embeds a Bad block table in the flashed image. The boot code will skip bad blocks found in this bad block table then. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/Makefile')
-rw-r--r--arch/arm/mach-imx/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile
index 4adf522219..dd58c6280b 100644
--- a/arch/arm/mach-imx/Makefile
+++ b/arch/arm/mach-imx/Makefile
@@ -16,4 +16,5 @@ obj-$(CONFIG_COMMON_CLK) += clk-pllv1.o clk-pllv2.o clk-pllv3.o clk-pfd.o
obj-y += devices.o imx.o esdctl.o
obj-y += boot.o
obj-$(CONFIG_BAREBOX_UPDATE) += imx-bbu-internal.o
+obj-$(CONFIG_BAREBOX_UPDATE_IMX_EXTERNAL_NAND) += imx-bbu-external-nand.o
pbl-y += esdctl.o