summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfirmware/export/imx31l.h3
-rw-r--r--firmware/thread.c3
2 files changed, 1 insertions, 5 deletions
diff --git a/firmware/export/imx31l.h b/firmware/export/imx31l.h
index 4cc51e9..1712a5b 100755
--- a/firmware/export/imx31l.h
+++ b/firmware/export/imx31l.h
@@ -32,8 +32,7 @@
#define LCD_BUFFER_SIZE ((320*240*2))
#define TTB_SIZE (0x4000)
#define TTB_BASE ((unsigned int *)TTB_BASE_ADDR)
-#define FRAME1 ALIGN_DOWN((TTB_BASE - LCD_BUFFER_SIZE), 32)
-#define FRAME2 ALIGN_DOWN((TTB_BASE - LCD_BUFFER_SIZE), 32)
+
/*
* AIPS 1
*/
diff --git a/firmware/thread.c b/firmware/thread.c
index 41160a0..63f8405 100644
--- a/firmware/thread.c
+++ b/firmware/thread.c
@@ -2554,9 +2554,6 @@ void init_threads(void)
struct thread_entry *thread;
int slot;
- memset(threads, 0, sizeof(threads));
- memset(cores, 0, sizeof(cores));
-
/* CPU will initialize first and then sleep */
slot = find_empty_thread_slot();