Skip to contentSkip to conversation

omap3: Fixed a problem with hwecc

PATCH New Ben Goska 3 participants 3 messages Aug 14, 2009 – Aug 17, 2009

lore
Share & tools
lore

Ben Goska

author
#0 lore raw

PATCH 1/1 omap3: Fixed a problem with hwecc

In commit 187af954cf7958c24efcf0fd62289bbdb4f1f24e there was a typo that offset all the ecc registers by 4 bytes, fixed that.

---
 include/asm-arm/arch-omap3/cpu.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
include/asm-arm/arch-omap3/cpu.h +2 -2
index 7a032b8..8ab2e39 100644
@@ -120,9 +120,9 @@ struct gpmc {
 	u8 res4[0xC];
 	u32 config;		/* 0x50 */
 	u32 status;		/* 0x54 */
-	u8 res5[0x8];
+	u8 res5[0x8];	/* 0x58 */
 	struct gpmc_cs cs[8];	/* 0x60, 0x90, .. */
-	u8 res6[0x18];
+	u8 res6[0x14];		/* 0x1E0 */
 	u32 ecc_config;		/* 0x1F4 */
 	u32 ecc_control;	/* 0x1F8 */
 	u32 ecc_size_config;	/* 0x1FC */
Signature · 1 line
1.6.3.3
#1 lore raw

PATCH 1/1 omap3: Fixed a problem with hwecc

Quoted 3 lines · Ben Goska

In commit 187af954cf7958c24efcf0fd62289bbdb4f1f24e there was a typo that offset all the ecc registers by 4 bytes, fixed that.

Should be applied as bugfix to -rc.

Thanks

Dirk

Quoted 20 lines
---
 include/asm-arm/arch-omap3/cpu.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
include/asm-arm/arch-omap3/cpu.h +2 -2
index 7a032b8..8ab2e39 100644
@@ -120,9 +120,9 @@ struct gpmc {
 	u8 res4[0xC];
 	u32 config;		/* 0x50 */
 	u32 status;		/* 0x54 */
-	u8 res5[0x8];
+	u8 res5[0x8];	/* 0x58 */
 	struct gpmc_cs cs[8];	/* 0x60, 0x90, .. */
-	u8 res6[0x18];
+	u8 res6[0x14];		/* 0x1E0 */
 	u32 ecc_config;		/* 0x1F4 */
 	u32 ecc_control;	/* 0x1F8 */
 	u32 ecc_size_config;	/* 0x1FC */