The i.MX6 NAND boot update code can be used for i.MX28 aswell with some modifications. This series makes the code available for i.MX28 and also has some optimizations like use of a partition to allow for size checks. Sascha ---------------------------------------------------------------- Sascha Hauer (10): ARM: dts: Karo tx6: increase barebox partition to 4MB mtd: partition: implement write_oob filetype: Add filetype for MXS bootstream ARM: i.MX6: bbu nand: Move to common place imx-bbu-nand-fcb: Fix debug messages imx-bbu-nand-fcb: Use barebox partition instead of whole device imx-bbu-nand-fcb: make available for i.MX28 aswell imx-bbu-nand-fcb: Let DBBT start at page 1 imx-bbu-nand-fcb: Erase whole partition imx-bbu-nand-fcb: Split space for firmware in two equal regions arch/arm/dts/imx6dl-tx6u-801x.dts | 4 +- arch/arm/mach-imx/Kconfig | 9 - arch/arm/mach-imx/Makefile | 1 - arch/arm/mach-imx/include/mach/bbu.h | 9 - common/Kconfig | 8 + common/Makefile | 1 + common/filetype.c | 3 + .../imx6-bbu-nand.c => common/imx-bbu-nand-fcb.c | 248 ++++++++++++++++----- drivers/mtd/partition.c | 13 ++ include/bbu.h | 14 ++ include/filetype.h | 1 + 11 files changed, 239 insertions(+), 72 deletions(-) rename arch/arm/mach-imx/imx6-bbu-nand.c => common/imx-bbu-nand-fcb.c (69%) _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox