[rtems commit] bsp/lpc24xx: Fix register address
Sebastian Huber
sebh at rtems.org
Mon Apr 8 07:50:53 UTC 2013
Module: rtems
Branch: master
Commit: 39586f68fd7f9e0e39306fe9274bab531233eb47
Changeset: http://git.rtems.org/rtems/commit/?id=39586f68fd7f9e0e39306fe9274bab531233eb47
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Apr 3 06:24:32 2013 +0200
bsp/lpc24xx: Fix register address
---
c/src/lib/libbsp/arm/lpc24xx/include/lpc24xx.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/c/src/lib/libbsp/arm/lpc24xx/include/lpc24xx.h b/c/src/lib/libbsp/arm/lpc24xx/include/lpc24xx.h
index 709b2e1..e6deeaa 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/include/lpc24xx.h
+++ b/c/src/lib/libbsp/arm/lpc24xx/include/lpc24xx.h
@@ -1327,11 +1327,12 @@ Reset, and Code Security/Debugging */
/* LCD Controller */
#ifdef ARM_MULTILIB_ARCH_V4
+ #define LCD_CFG (*(volatile uint32_t *) 0xE01FC1B8)
#define LCD_BASE_ADDR 0xFFE10000
#else
+ #define LCD_CFG (*(volatile uint32_t *) 0x400FC1B8)
#define LCD_BASE_ADDR 0x20088000
#endif
-#define LCD_CFG (*(volatile uint32_t *) 0xE01FC1B8)
#define LCD_TIMH (*(volatile uint32_t *) (LCD_BASE_ADDR + 0x000))
#define LCD_TIMV (*(volatile uint32_t *) (LCD_BASE_ADDR + 0x004))
#define LCD_POL (*(volatile uint32_t *) (LCD_BASE_ADDR + 0x008))
More information about the vc
mailing list