diff options
author | Michael Schwingen <michael@schwingen.org> | 2007-12-08 01:35:02 +0300 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-12-08 10:16:50 +0300 |
commit | 81b20ccc2d795ae9a1199db5a50ad9c28d1e4d22 (patch) | |
tree | e868eac227ddea35a626f01c894918c0776eb781 /drivers/mtd/Makefile | |
parent | 41be969f4957115ed7b1fe8b890bfaee99d7a7a2 (diff) | |
download | u-boot-81b20ccc2d795ae9a1199db5a50ad9c28d1e4d22.tar.xz |
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/Makefile | 1 |
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) |