diff --git a/arch/arm/configs/omap3530_beagle_xload_defconfig b/arch/arm/configs/omap3530_beagle_xload_defconfig index 58a2309..1069670 100644 --- a/arch/arm/configs/omap3530_beagle_xload_defconfig +++ b/arch/arm/configs/omap3530_beagle_xload_defconfig @@ -20,14 +20,14 @@ CONFIG_DRIVER_SERIAL_NS16550_OMAP_EXTENSIONS=y # CONFIG_SPI is not set CONFIG_MTD=y +# CONFIG_MTD_WRITE is not set +# CONFIG_MTD_OOB_DEVICE is not set CONFIG_NAND=y -# CONFIG_NAND_WRITE is not set # CONFIG_NAND_ECC_SOFT is not set # CONFIG_NAND_ECC_HW_SYNDROME is not set # CONFIG_NAND_ECC_HW_NONE is not set # CONFIG_NAND_INFO is not set # CONFIG_NAND_BBT is not set -# CONFIG_NAND_READ_OOB is not set CONFIG_NAND_OMAP_GPMC=y CONFIG_MCI=y CONFIG_MCI_STARTUP=y diff --git a/arch/arm/mach-at91/include/mach/board.h b/arch/arm/mach-at91/include/mach/board.h index 2619234..738af87 100644 --- a/arch/arm/mach-at91/include/mach/board.h +++ b/arch/arm/mach-at91/include/mach/board.h @@ -53,6 +53,7 @@ u8 cle; /* address line number connected to CLE */ u8 bus_width_16; /* buswidth is 16 bit */ u8 ecc_mode; /* NAND_ECC_* */ + u8 on_flash_bbt; /* Use flash based bbt */ }; void at91_add_device_nand(struct atmel_nand_data *data); diff --git a/fs/fat/ff.c b/fs/fat/ff.c index 3ada867..0087e21 100644 --- a/fs/fat/ff.c +++ b/fs/fat/ff.c @@ -874,7 +874,7 @@ /* * Create numbered name */ -#ifdef CONFIG_FS_FAT_LFN +#if defined(CONFIG_FS_FAT_LFN) && defined(CONFIG_FS_FAT_WRITE) static void gen_numname ( BYTE *dst, /* Pointer to generated SFN */ const BYTE *src, /* Pointer to source SFN to be modified */