diff options
author | Holger Freyther <zecke@openmoko.org> | 2008-11-19 17:10:51 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-19 17:10:51 +0000 |
commit | 685b99ad165ddb7eaa64962e66342f6bb1d48b30 (patch) | |
tree | 6fd74af85136afb192f44a7729fb8dc92fb5c47c /arch/arm/plat-s3c/include/plat/nand.h | |
parent | ba6dd0f4c25dc765054a4bbd30ac6d31b72942bb (diff) |
From 5ee1ee9e1c8a652b0f9cde72ad5e547db87d4d67 Mon Sep 17 00:00:00 2001
Subject: [PATCH] [gta02] Disable hardware ECC unless we get instructed to enable it
This is restoring the old behavior in regard to ECC. Even if
hardware ECC was compiled in we didn't use it. Make this a runtime
option. If the bootloader passes hardware_ecc we will enable the
hardware ECC for real.
Diffstat (limited to 'arch/arm/plat-s3c/include/plat/nand.h')
-rw-r--r-- | arch/arm/plat-s3c/include/plat/nand.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c/include/plat/nand.h b/arch/arm/plat-s3c/include/plat/nand.h index 048b0f03adf..e34eeb9c327 100644 --- a/arch/arm/plat-s3c/include/plat/nand.h +++ b/arch/arm/plat-s3c/include/plat/nand.h @@ -47,6 +47,9 @@ struct s3c2410_platform_nand { int nr_sets; struct s3c2410_nand_set *sets; + /* force software_ecc at runtime */ + int software_ecc; + void (*select_chip)(struct s3c2410_nand_set *, int chip); }; |