Add flag NAND_BUSWIDTH_UNKNOWN to allow the nand driver to detect the buswidth. Driver must provide callback set_buswidth which configure buswidth set in (struct nand_chip) nand->options Jan Weitzel (3): nand: base: Add autodetect buswidth OMAP GPMC NAND: add set_buswidth callback PCA-A_XL2 PCM049: Use autodetection for NAND width arch/arm/boards/pcm049/board.c | 4 +- arch/arm/boards/phycard-a-xl2/pca-a-xl2.c | 3 +- arch/arm/mach-omap/devices-gpmc-nand.c | 8 ++--- arch/arm/mach-omap/gpmc.c | 19 ++++++++++++ arch/arm/mach-omap/include/mach/gpmc.h | 8 +++++ drivers/mtd/nand/nand_base.c | 45 ++++++++++++++++++++++++++-- drivers/mtd/nand/nand_omap_gpmc.c | 43 ++++++++++++++++++++++++--- include/linux/mtd/nand.h | 4 ++ 8 files changed, 117 insertions(+), 17 deletions(-) _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox