aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-at91/include/mach/sama5d2.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-04-04 08:26:55 -0400
committerTom Rini <trini@konsulko.com>2022-04-04 08:26:55 -0400
commit8221c52d88fbe84ca9692dc23827e21403c952e8 (patch)
treecf5e6356fe749863fc3ff64bd5e4659041133b60 /arch/arm/mach-at91/include/mach/sama5d2.h
parent25b8acee2ea11a9edc100c42a61f5d6187eb6167 (diff)
parentef9d9b2501ad9e0601bd292c4a6c8a7ba8f3a909 (diff)
downloadu-boot-WIP/04Apr2022-next.zip
u-boot-WIP/04Apr2022-next.tar.gz
u-boot-WIP/04Apr2022-next.tar.bz2
Merge tag 'u-boot-at91-2022.07-a' of https://source.denx.de/u-boot/custodians/u-boot-at91 into nextWIP/04Apr2022-next
First set of u-boot-at91 features for the 2022.07 cycle: This feature set includes the new driver for the Atmel TCB timer, alignment in DT for sama7g5 and sama7g5ek board, one Kconfig conversion for external reset, and the usage of Galois tables from ROM for sama5d2 device.
Diffstat (limited to 'arch/arm/mach-at91/include/mach/sama5d2.h')
-rw-r--r--arch/arm/mach-at91/include/mach/sama5d2.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/include/mach/sama5d2.h b/arch/arm/mach-at91/include/mach/sama5d2.h
index 9d94627..5ff20e9 100644
--- a/arch/arm/mach-at91/include/mach/sama5d2.h
+++ b/arch/arm/mach-at91/include/mach/sama5d2.h
@@ -129,6 +129,7 @@
/*
* Address Memory Space
*/
+#define ATMEL_BASE_ROM 0x00000000
#define ATMEL_BASE_CS0 0x10000000
#define ATMEL_BASE_DDRCS 0x20000000
#define ATMEL_BASE_CS1 0x60000000
@@ -142,6 +143,12 @@
#define ATMEL_BASE_QSPI1_MEM 0xd8000000
/*
+ * PMECC tables in ROM
+ */
+#define ATMEL_PMECC_INDEX_OFFSET_512 0x40000
+#define ATMEL_PMECC_INDEX_OFFSET_1024 0x48000
+
+/*
* Internal Memories
*/
#define ATMEL_BASE_UDPHS_FIFO 0x00300000 /* USB Device HS controller */
@@ -233,9 +240,6 @@
/* PIT Timer(PIT_PIIR) */
#define CONFIG_SYS_TIMER_COUNTER 0xf804803c
-/* No PMECC Galois table in ROM */
-#define NO_GALOIS_TABLE_IN_ROM
-
#ifndef __ASSEMBLY__
unsigned int get_chip_id(void);
unsigned int get_extension_chip_id(void);