From: Ben Goska Date: Fri, 14 Aug 2009 17:03:36 +0000 (-0700) Subject: omap3: Fixed a problem with hwecc X-Git-Tag: v2009.08-rc3~16 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8fa656aa5289815d942ebdc26182ccb9f2b9c86f;p=u-boot omap3: Fixed a problem with hwecc In commit 187af954cf7958c24efcf0fd62289bbdb4f1f24e there was a typo that offset all the ecc registers by 4 bytes, fixed that. Signed-off-by: Ben Goska Acked-by: Dirk Behme --- diff --git a/include/asm-arm/arch-omap3/cpu.h b/include/asm-arm/arch-omap3/cpu.h index 7a032b8286..8ab2e391bc 100644 --- a/include/asm-arm/arch-omap3/cpu.h +++ b/include/asm-arm/arch-omap3/cpu.h @@ -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 */