From 449485948e6de1869ec39c1559b7b78d85690ea7 Mon Sep 17 00:00:00 2001 From: Albert ARIBAUD Date: Tue, 8 Jan 2013 23:57:20 +0100 Subject: [PATCH] Fix SPL build for non-ARM targets Signed-off-by: Albert ARIBAUD --- drivers/mtd/nand/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile index 2c3812c3ba..c77c0c4f0f 100644 --- a/drivers/mtd/nand/Makefile +++ b/drivers/mtd/nand/Makefile @@ -79,6 +79,10 @@ COBJS-$(CONFIG_TEGRA_NAND) += tegra_nand.o COBJS-$(CONFIG_NAND_OMAP_GPMC) += omap_gpmc.o COBJS-$(CONFIG_NAND_PLAT) += nand_plat.o +else # minimal SPL drivers + +COBJS-$(CONFIG_NAND_FSL_ELBC) += fsl_elbc_spl.o + endif # drivers endif # nand -- 2.25.1