[U-Boot] [RFC/PATCH 0/4] BCH8 support for OMAP3

Andreas Bießmann andreas.devel at googlemail.com
Fri Nov 23 16:14:13 CET 2012


This RFC series implements BCH8 for OMAP3 as provided by linux kernel in commit
0e618ef0a6a33cf7ef96c2c824402088dd8ef48c.
This series is heavily influenced by Ilyas series 'NAND support for AM33XX'
thus could share some code.

I have managed to load kernel from an ubifs written by the kernel driver, but is
far away from tested thoroughly.

Cause my NAND device 'NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron
NAND 512MiB 1,8V 16-bit)' does support 1bit ECC for first sector if erase is
less than 1000, the rest requires 4bit ECC. Therefore the SPL needs to support
BCH, the impact is about 9k for the SPL.

Andreas Bießmann (4):
  omap3/cpu.h: add BCH support
  omap3/omap_gpmc.h: add ooblayout for BCH8 as in kernel
  omap_gpmc: add support for hw assisted BCH8
  tricorder: enable hw assisted BCH8 in SPL and u-boot

 arch/arm/cpu/armv7/omap3/board.c            |    8 +-
 arch/arm/include/asm/arch-omap3/cpu.h       |    6 +
 arch/arm/include/asm/arch-omap3/omap_gpmc.h |   12 ++
 drivers/mtd/nand/omap_gpmc.c                |  216 ++++++++++++++++++++++++++-
 include/configs/tricorder.h                 |   10 +-
 lib/Makefile                                |    3 +-
 6 files changed, 248 insertions(+), 7 deletions(-)

-- 
1.7.10.4



More information about the U-Boot mailing list