]> git.baikalelectronics.ru Git - kernel.git/commit
[MTD] [NAND] Set the fsl elbc ECCM according the settings in bootloader.
authorJason Jin <Jason.jin@freescale.com>
Tue, 9 Dec 2008 06:32:31 +0000 (14:32 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 10 Dec 2008 16:44:28 +0000 (16:44 +0000)
commit94bbe06923fe267abf48b0626a97a381f548668f
tree66ad19134e43a001047fcbc8729125e94af9fecd
parent3f577671ae90cddf6aa417feb2dd1740283b024f
[MTD] [NAND] Set the fsl elbc ECCM according the settings in bootloader.

The ECCM maybe set in bootloader, Get ECCM settings from the bootloader,
can avoid the image written by bootloader cannot read out by kernel.

But the limitation of doing it this way is that, it could break large page
NAND if it is written with NAND disabled in u-boot and read with NAND
enabled, or vice versa.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/fsl_elbc_nand.c