diff mbox

[U-Boot,1/2] igep00x0: disable environment

Message ID 20170218232339.52vbbpvv2sosmcc5@lenoch
State Accepted
Commit d12814e7c50b5fc4f22cf0e94f0c418c631357ae
Delegated to: Tom Rini
Headers show

Commit Message

Ladislav Michl Feb. 18, 2017, 11:23 p.m. UTC
ISEE's U-Boot and Linux are using 1bit ECC scheme, while we
switched to 8bit ECC to fullfill flash specification requirements.
However when trying to run U-Boot on board with 1bit ECC'd data
on flash, UBI code takes several minutes to pass scan as reading
of every block ends with ecc error (which is also printed on
console).
So, until proper solution is developed, disable environment
alltogether.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
---
 include/configs/omap3_igep00x0.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini March 16, 2017, 8:40 p.m. UTC | #1
On Sun, Feb 19, 2017 at 12:23:39AM +0100, Ladislav Michl wrote:

> ISEE's U-Boot and Linux are using 1bit ECC scheme, while we
> switched to 8bit ECC to fullfill flash specification requirements.
> However when trying to run U-Boot on board with 1bit ECC'd data
> on flash, UBI code takes several minutes to pass scan as reading
> of every block ends with ecc error (which is also printed on
> console).
> So, until proper solution is developed, disable environment
> alltogether.
> 
> Signed-off-by: Ladislav Michl <ladis@linux-mips.org>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/include/configs/omap3_igep00x0.h b/include/configs/omap3_igep00x0.h
index ac0df3e08b..70d337e6f1 100644
--- a/include/configs/omap3_igep00x0.h
+++ b/include/configs/omap3_igep00x0.h
@@ -140,7 +140,7 @@ 
 #define CONFIG_SPL_UBI_INFO_ADDR	0x88080000
 
 /* environment organization */
-#define CONFIG_ENV_IS_IN_UBI		1
+#define CONFIG_ENV_IS_NOWHERE		1
 #define CONFIG_ENV_UBI_PART		"UBI"
 #define CONFIG_ENV_UBI_VOLUME		"config"
 #define CONFIG_ENV_UBI_VOLUME_REDUND	"config_r"