mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
sam9x60.h: Fix Galois Field Table offsets
Because ATMEL_BASE_ROM is defined to 0x100000, it already points to the begin of the index table for 512 byte sectors correction. Thus its offset must be zero and the index of the table for 1024 byte sectors must start at offset 0x8000. Signed-off-by: Kai Stuhlemmer (ebee Engineering) <kai.stuhlemmer@ebee.de> [ta: update commit message] Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
This commit is contained in:
parent
786f888b74
commit
3270c47b39
1 changed files with 2 additions and 2 deletions
|
@ -154,8 +154,8 @@
|
|||
/*
|
||||
* PMECC table in ROM
|
||||
*/
|
||||
#define ATMEL_PMECC_INDEX_OFFSET_512 0x8000
|
||||
#define ATMEL_PMECC_INDEX_OFFSET_1024 0x10000
|
||||
#define ATMEL_PMECC_INDEX_OFFSET_512 0x0000
|
||||
#define ATMEL_PMECC_INDEX_OFFSET_1024 0x8000
|
||||
|
||||
/*
|
||||
* SAM9X60 specific prototypes
|
||||
|
|
Loading…
Reference in a new issue