summaryrefslogtreecommitdiff
path: root/firmware/export/tcc780x.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/tcc780x.h')
-rw-r--r--firmware/export/tcc780x.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/tcc780x.h b/firmware/export/tcc780x.h
index 497f1514e0..aca3bec2bd 100644
--- a/firmware/export/tcc780x.h
+++ b/firmware/export/tcc780x.h
@@ -21,6 +21,11 @@
21#ifndef __TCC780X_H__ 21#ifndef __TCC780X_H__
22#define __TCC780X_H__ 22#define __TCC780X_H__
23 23
24#define TTB_SIZE (0x4000)
25/* must be 16Kb (0x4000) aligned */
26#define TTB_BASE_ADDR (0x20000000 + (MEMORYSIZE*1024*1024) - TTB_SIZE)
27#define TTB_BASE ((unsigned long *)TTB_BASE_ADDR) /* End of memory */
28
24/* General-purpose IO */ 29/* General-purpose IO */
25 30
26#define PORTCFG0 (*(volatile unsigned long *)0xF005A000) 31#define PORTCFG0 (*(volatile unsigned long *)0xF005A000)