]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r257892, r258196, r258197, r258199, r258200, r258201, r258202:
authorian <ian@FreeBSD.org>
Sat, 14 Dec 2013 00:54:05 +0000 (00:54 +0000)
committerian <ian@FreeBSD.org>
Sat, 14 Dec 2013 00:54:05 +0000 (00:54 +0000)
commit8b635cded30beba47401118e7af15d2d31ce15ed
treefaf9308a4eac8b777678b41455af467099e10b70
parent3360970b016395e930ab2a2e9db97174e387e337
MFC r257892, r258196, r258197, r258199, r258200, r258201, r258202:

  Add ONFI signature check.

  Add Micron chip found in Freescale Vybrid Family Phytec COSMIC board.

  The vendor specified field is 88 bytes, not 8 bytes.

  Update the onfi_params struct to ONFI revision 3.2 (06 12 2013).

  Search for and validate the ONFI params as specified in the standard.

  ONFI parameters are little-endian, hence we must take care to convert them
  to native endianness.  We must also pay attention to unaligned accesses.

  Rework the routine that returns a pointer to the table of software ECC
  byte positions within the OOB area to support chips with unusual OOB
  sizes such as 218 or 224 bytes.
sys/dev/nand/nand.c
sys/dev/nand/nand.h
sys/dev/nand/nand_generic.c
sys/dev/nand/nand_id.c