mtd: Introduce CONFIG_MTD_DEVICE to select compilation of mtdcore.o
authorStefan Roese <sr@denx.de>
Tue, 12 May 2009 12:31:18 +0000 (14:31 +0200)
committerWolfgang Denk <wd@denx.de>
Fri, 12 Jun 2009 18:45:47 +0000 (20:45 +0200)
commitd558107c18708050f05b6639b2192efb67c905dc
tree964690b86061721363efc675d593262191c6828a
parent942556a92a8c1eb1bd76584a5143f6f57dcb25ad
mtd: Introduce CONFIG_MTD_DEVICE to select compilation of mtdcore.o

This new define enables mtdcore.c compilation and with this we can
select the MTD device infrastructure needed for the reworked mtdparts
command.

We now have the 2 MTD infrastructure defines, CONFIG_MTD_DEVICE and
CONFIG_MTD_PARTITIONS. CONFIG_MTD_DEVICE is needed (as explained above)
for the "mtdparts" command and CONFIG_MTD_PARTITIONS is needed for UBI.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Scott Wood <scottwood@freescale.com>
README
drivers/mtd/Makefile
drivers/mtd/nand/nand.c
drivers/mtd/onenand/onenand_uboot.c