mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-05 11:00:43 +09:00
cm-t35: fix incorrect NAND_ECC layout selection
The current configuration selects an incorrect NAND ECC layout, which causes u-boot to write HW ECC data incorrectly. This patch selects the right layout. Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
This commit is contained in:
parent
f3f98bb0b8
commit
816e392148
@ -174,7 +174,7 @@
|
|||||||
#define CONFIG_SYS_NAND_BASE NAND_BASE /* physical address */
|
#define CONFIG_SYS_NAND_BASE NAND_BASE /* physical address */
|
||||||
/* to access nand at */
|
/* to access nand at */
|
||||||
/* CS0 */
|
/* CS0 */
|
||||||
#define GPMC_NAND_ECC_LP_x16_LAYOUT
|
#define GPMC_NAND_ECC_LP_x8_LAYOUT
|
||||||
|
|
||||||
#define CONFIG_SYS_MAX_NAND_DEVICE 1 /* Max number of NAND */
|
#define CONFIG_SYS_MAX_NAND_DEVICE 1 /* Max number of NAND */
|
||||||
/* devices */
|
/* devices */
|
||||||
|
Loading…
Reference in New Issue
Block a user