sf: inline data constants
[oweals/u-boot.git] / drivers / mtd / nand / nand_ecc.c
index 52bc916afb7370b30763b776a86f10b8d31c5861..81f0e0812b126b99d9aaee98d79dea7d2ec1db7a 100644 (file)
@@ -50,7 +50,7 @@
  * only nand_correct_data() is needed
  */
 
-#ifndef CONFIG_NAND_SPL
+#if !defined(CONFIG_NAND_SPL) || defined(CONFIG_SPL_NAND_SOFTECC)
 /*
  * Pre-calculated 256-way 1 byte column parity
  */