From 942556a92a8c1eb1bd76584a5143f6f57dcb25ad Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Tue, 12 May 2009 14:32:58 +0200 Subject: mtd: MTD related config header changes (mtdparts command) By changing the cmd_mtdparts to only use the MTD infrastructure and not the direct interface to the CFI NOR FLASH driver we now need to add the MTD infrastructure to all boards using those mtdparts commands. This patch adds those components: CONFIG_MTD_DEVICE (for all FLASH types) plus CONFIG_FLASH_CFI_MTD (for NOR FLASH) To all board maintainers: Please test this on your platforms and report any problems/issues found. Thanks. Signed-off-by: Stefan Roese Cc: Wolfgang Denk Cc: Ron Madrid Cc: Georg Schardt Cc: Michal Simek Cc: Ladislav Michl Cc: Martin Krause Cc: Gary Jennejohn Cc: Ricardo Ribalda --- include/configs/TQM855L.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/configs/TQM855L.h') diff --git a/include/configs/TQM855L.h b/include/configs/TQM855L.h index 999bdaadcb..3d7dc4233b 100644 --- a/include/configs/TQM855L.h +++ b/include/configs/TQM855L.h @@ -222,6 +222,8 @@ * Dynamic MTD partition support */ #define CONFIG_CMD_MTDPARTS +#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */ +#define CONFIG_FLASH_CFI_MTD #define MTDIDS_DEFAULT "nor0=TQM8xxL-0" #define MTDPARTS_DEFAULT "mtdparts=TQM8xxL-0:256k(u-boot)," \ -- cgit v1.2.3