]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
atmel_nand: fix the U-Boot output information about nand flash with PMECC enable.
authorWu, Josh <Josh.wu@atmel.com>
Sun, 9 Sep 2012 23:45:49 +0000 (23:45 +0000)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Thu, 13 Sep 2012 12:28:13 +0000 (14:28 +0200)
commitb9c83c68151636656c15d069397a716932872bd7
tree0861d3ed18a192cd745849a930db39d1ba3cf248
parent1c5794a13e9baeafbace8cc1f1890b9e0a3b575c
atmel_nand: fix the U-Boot output information about nand flash with PMECC enable.

Before the patch, it looks like:
|U-Boot 2012.07-00441-gd578d6f-dirty (Sep 10 2012 - 16:11:06)
|
|CPU: AT91SAM9G35
|Crystal frequency:       12 MHz
|CPU clock        :      400 MHz
|Master clock     :  133.333 MHz
|DRAM:  128 MiB
|WARNING: Caches not enabled
> |NAND:  Initialize PMECC params, cap: 2, sector: 512
> |256 MiB
|MMC:   mci: 0
|In:    serial
|Out:   serial
|Err:   serial
|Net:   macb0
|Hit any key to stop autoboot:  0

After the patch:
|U-Boot 2012.07-00441-gd578d6f-dirty (Sep 10 2012 - 16:18:11)
|
|CPU: AT91SAM9G35
|Crystal frequency:       12 MHz
|CPU clock        :      400 MHz
|Master clock     :  133.333 MHz
|DRAM:  128 MiB
|WARNING: Caches not enabled
> |NAND:  256 MiB
| ... ...
|Hit any key to stop autoboot:  0

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
drivers/mtd/nand/atmel_nand.c