diff options
author | Wu, Josh <Josh.wu@atmel.com> | 2013-07-03 11:11:45 +0800 |
---|---|---|
committer | Andreas Bießmann <andreas.devel@googlemail.com> | 2013-08-22 16:50:16 +0200 |
commit | b2d96dc28ffb2acad250ffb551a442396db83f38 (patch) | |
tree | becd244bf5b62cc9f81ec95109b937ca12741479 /include/configs | |
parent | ce76f0aac6b340582f9f08cf6c3d063df97e419f (diff) | |
download | u-boot-imx-b2d96dc28ffb2acad250ffb551a442396db83f38.zip u-boot-imx-b2d96dc28ffb2acad250ffb551a442396db83f38.tar.gz u-boot-imx-b2d96dc28ffb2acad250ffb551a442396db83f38.tar.bz2 |
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 'include/configs')
-rw-r--r-- | include/configs/at91sam9x5ek.h | 1 | ||||
-rw-r--r-- | include/configs/sama5d3xek.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h index b866a4b..c799955 100644 --- a/include/configs/at91sam9x5ek.h +++ b/include/configs/at91sam9x5ek.h @@ -121,7 +121,6 @@ #define CONFIG_ATMEL_NAND_HW_PMECC 1 #define CONFIG_PMECC_CAP 2 #define CONFIG_PMECC_SECTOR_SIZE 512 -#define CONFIG_PMECC_INDEX_TABLE_OFFSET 0x8000 #define CONFIG_CMD_NAND_TRIMFFS diff --git a/include/configs/sama5d3xek.h b/include/configs/sama5d3xek.h index 3dcf012..ab9617e 100644 --- a/include/configs/sama5d3xek.h +++ b/include/configs/sama5d3xek.h @@ -126,7 +126,6 @@ #define CONFIG_ATMEL_NAND_HW_PMECC #define CONFIG_PMECC_CAP 4 #define CONFIG_PMECC_SECTOR_SIZE 512 -#define CONFIG_PMECC_INDEX_TABLE_OFFSET ATMEL_PMECC_INDEX_OFFSET_512 #define CONFIG_CMD_NAND_TRIMFFS #endif |