[U-Boot] [PATCH v3 0/1] fsl_elbc support for 4k devices and factory badblock migration

Rafael Beims rafael.beims at gmail.com
Mon Jul 2 23:01:34 CEST 2012


This is my implementation of the factory badblock migration process for
the fsl_elbc driver using the hack to support nand devices with page
sizes bigger than 2048k.
I would really appreciate any feedback related to the patch.

Changes in v2:
 - Added check to disallow the migration code to run in devices with
 page size <= 2048

Changes in v3:
 - Corrected memset writing beyond newoob buffer
 - Corrected various code formatting errors
 - Cosmetic changes
 - Generated random magic number for migration marker
 - Removed direct references to nand_bbt.c code
 - Removed useless bbt free
 - Removed useless dir variable
 - Removed vmalloc and kmalloc calls. Only malloc() and free() used now
 - Start searching the migration marker from the end of NAND

Rafael Beims (1):
  nand: Hack to support 4k page in fsl_elbc_nand

 drivers/mtd/nand/fsl_elbc_nand.c |  431 +++++++++++++++++++++++++++++++++++---
 1 files changed, 403 insertions(+), 28 deletions(-)


More information about the U-Boot mailing list