summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/Makefile
diff options
context:
space:
mode:
authorMichael Schwingen <michael@schwingen.org>2007-12-07 23:35:02 +0100
committerStefan Roese <sr@denx.de>2007-12-08 08:16:50 +0100
commit81b20ccc2d795ae9a1199db5a50ad9c28d1e4d22 (patch)
treee868eac227ddea35a626f01c894918c0776eb781 /drivers/mtd/Makefile
parent41be969f4957115ed7b1fe8b890bfaee99d7a7a2 (diff)
downloadblackbird-obmc-uboot-81b20ccc2d795ae9a1199db5a50ad9c28d1e4d22.tar.gz
blackbird-obmc-uboot-81b20ccc2d795ae9a1199db5a50ad9c28d1e4d22.zip
CFI: support JEDEC flash roms in CFI-flash framework
The following patch adds support for non-CFI flash ROMS, by hooking into the CFI flash code and using most of its code, as recently discussed here in the thread "Mixing CFI and non-CFI flashs". Signed-off-by: Michael Schwingen <michael@schwingen.org> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/mtd/Makefile')
-rw-r--r--drivers/mtd/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/Makefile b/drivers/mtd/Makefile
index 95c5e02af9..952e919843 100644
--- a/drivers/mtd/Makefile
+++ b/drivers/mtd/Makefile
@@ -29,6 +29,7 @@ COBJS-y += at45.o
COBJS-y += cfi_flash.o
COBJS-y += dataflash.o
COBJS-y += mw_eeprom.o
+COBJS-$(CONFIG_FLASH_CFI_LEGACY) += jedec_flash.o
COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
OpenPOWER on IntegriCloud