diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/dm320.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/export/dm320.h b/firmware/export/dm320.h index d6599a6745..a1bbc3cd30 100644 --- a/firmware/export/dm320.h +++ b/firmware/export/dm320.h | |||
@@ -30,11 +30,13 @@ | |||
30 | #if !defined(__ASSEMBLER__) && !defined(__LD__) | 30 | #if !defined(__ASSEMBLER__) && !defined(__LD__) |
31 | /* These variables are created during linking (app/boot.lds) */ | 31 | /* These variables are created during linking (app/boot.lds) */ |
32 | extern unsigned long _lcdbuf; | 32 | extern unsigned long _lcdbuf; |
33 | extern unsigned long _lcdbuf2; | ||
33 | extern unsigned long _ttbstart; | 34 | extern unsigned long _ttbstart; |
34 | #endif | 35 | #endif |
35 | 36 | ||
36 | #define TTB_BASE_ADDR (_ttbstart) /* End of memory */ | 37 | #define TTB_BASE_ADDR (_ttbstart) /* End of memory */ |
37 | #define FRAME ((short *) (&_lcdbuf)) /* Right before TTB */ | 38 | #define FRAME ((short *) (&_lcdbuf)) /* Right after TTB */ |
39 | #define FRAME2 ((short *) (&_lcdbuf2)) /* Right after FRAME */ | ||
38 | 40 | ||
39 | #define PHY_IO_BASE 0x00030000 | 41 | #define PHY_IO_BASE 0x00030000 |
40 | #define DM320_REG(addr) (*(volatile unsigned short *)(PHY_IO_BASE + (addr))) | 42 | #define DM320_REG(addr) (*(volatile unsigned short *)(PHY_IO_BASE + (addr))) |
@@ -651,7 +653,7 @@ extern unsigned long _ttbstart; | |||
651 | #define IO_MEM_STICK_DMA_STATUS DM320_REG(0x0C96) | 653 | #define IO_MEM_STICK_DMA_STATUS DM320_REG(0x0C96) |
652 | 654 | ||
653 | /* ATM : WBB Need to find these Register values */ | 655 | /* ATM : WBB Need to find these Register values */ |
654 | #define IO_ATM_ DM320_REG(0x0D00 | 656 | #define IO_ATM_ DM320_REG(0x0D00) |
655 | 657 | ||
656 | /* I2C */ | 658 | /* I2C */ |
657 | #define IO_I2C_TXDATA DM320_REG(0x0D80) | 659 | #define IO_I2C_TXDATA DM320_REG(0x0D80) |