projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nand_spl_simple: add support for software ECC
[oweals/u-boot.git]
/
drivers
/
mtd
/
nand
/
nand_ecc.c
diff --git
a/drivers/mtd/nand/nand_ecc.c
b/drivers/mtd/nand/nand_ecc.c
index 52bc916afb7370b30763b776a86f10b8d31c5861..81f0e0812b126b99d9aaee98d79dea7d2ec1db7a 100644
(file)
--- a/
drivers/mtd/nand/nand_ecc.c
+++ b/
drivers/mtd/nand/nand_ecc.c
@@
-50,7
+50,7
@@
* only nand_correct_data() is needed
*/
-#if
ndef CONFIG_NAND_SPL
+#if
!defined(CONFIG_NAND_SPL) || defined(CONFIG_SPL_NAND_SOFTECC)
/*
* Pre-calculated 256-way 1 byte column parity
*/