summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-at91/at91sam9x5.h
diff options
context:
space:
mode:
authorWu, Josh <Josh.wu@atmel.com>2013-07-03 03:11:45 (GMT)
committerAndreas Bießmann <andreas.devel@googlemail.com>2013-08-22 14:50:16 (GMT)
commitb2d96dc28ffb2acad250ffb551a442396db83f38 (patch)
treebecd244bf5b62cc9f81ec95109b937ca12741479 /arch/arm/include/asm/arch-at91/at91sam9x5.h
parentce76f0aac6b340582f9f08cf6c3d063df97e419f (diff)
downloadu-boot-fsl-qoriq-b2d96dc28ffb2acad250ffb551a442396db83f38.tar.xz
ARM: at91: atmel_nand: pmecc driver will select the galois table by sector size
Define the galois index table offset in chip head file. So user do not need to set by himself. Driver will set it correctly according to sector_size. Signed-off-by: Josh Wu <josh.wu@atmel.com> Acked-by: Scott Wood <scottwood@freescale.com> [rebased on master] Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'arch/arm/include/asm/arch-at91/at91sam9x5.h')
-rw-r--r--arch/arm/include/asm/arch-at91/at91sam9x5.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-at91/at91sam9x5.h b/arch/arm/include/asm/arch-at91/at91sam9x5.h
index fcc6fdc..a471038 100644
--- a/arch/arm/include/asm/arch-at91/at91sam9x5.h
+++ b/arch/arm/include/asm/arch-at91/at91sam9x5.h
@@ -162,6 +162,12 @@
#define ATMEL_ID_UHP ATMEL_ID_UHPHS
/*
+ * PMECC table in ROM
+ */
+#define ATMEL_PMECC_INDEX_OFFSET_512 0x8000
+#define ATMEL_PMECC_INDEX_OFFSET_1024 0x10000
+
+/*
* at91sam9x5 specific prototypes
*/
#ifndef __ASSEMBLY__