]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
fsl_elbc_nand: redirect the pointer of bbt pattern to RAM
authorMingkai Hu <Mingkai.hu@freescale.com>
Thu, 18 Jun 2009 10:23:27 +0000 (18:23 +0800)
committerScott Wood <scottwood@freescale.com>
Tue, 7 Jul 2009 22:58:10 +0000 (17:58 -0500)
commit66372fe2ab11cdeb0e841ad9eb6ba79769db4909
treefdb926c7f28e761cdfc60d2952f5eaae949c4c83
parent1dac3a51875967f32641bbc0d26dc382ef02330a
fsl_elbc_nand: redirect the pointer of bbt pattern to RAM

The bbt descriptors contains the pointer to the bbt pattern which
are statically initialized memory struct. When relocated to RAM,
these pointers will continue point to NOR flash(or L2 SRAM, or
other boot device). If the contents of NOR flash changed or L2
SRAM disabled, it'll hang the system.

Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
drivers/mtd/nand/fsl_elbc_nand.c