summaryrefslogtreecommitdiff
path: root/include/configs/lwmon5.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-05-21 01:13:39 +0200
committerWolfgang Denk <wd@denx.de>2008-05-21 01:13:39 +0200
commiteddc7c46c6030d6eca29ac254c9db98198be572d (patch)
treec9cf18d225398fbbb11496ad61a79852d3e059ba /include/configs/lwmon5.h
parent4416603aeb06861b468b06a981e52c3ff805db7b (diff)
parent0e15ddd11f1a84c465e434eb051d2ef08ef02b9b (diff)
downloadu-boot-imx-eddc7c46c6030d6eca29ac254c9db98198be572d.zip
u-boot-imx-eddc7c46c6030d6eca29ac254c9db98198be572d.tar.gz
u-boot-imx-eddc7c46c6030d6eca29ac254c9db98198be572d.tar.bz2
Merge branch 'lwmon5' of /home/wd/git/u-boot/projects
Diffstat (limited to 'include/configs/lwmon5.h')
-rw-r--r--include/configs/lwmon5.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/lwmon5.h b/include/configs/lwmon5.h
index 1f669aa..cf406c8 100644
--- a/include/configs/lwmon5.h
+++ b/include/configs/lwmon5.h
@@ -88,15 +88,20 @@
/* unused GPT0 COMP reg */
#define CFG_MEM_TOP_HIDE (4 << 10) /* don't use last 4kbytes */
/* 440EPx errata CHIP 11 */
+#define CFG_OCM_SIZE (16 << 10)
/* Additional registers for watchdog timer post test */
#define CFG_WATCHDOG_TIME_ADDR (CFG_PERIPHERAL_BASE + GPT0_MASK2)
#define CFG_WATCHDOG_FLAGS_ADDR (CFG_PERIPHERAL_BASE + GPT0_MASK1)
#define CFG_DSPIC_TEST_ADDR CFG_WATCHDOG_FLAGS_ADDR
+#define CFG_OCM_STATUS_ADDR CFG_WATCHDOG_FLAGS_ADDR
#define CFG_WATCHDOG_MAGIC 0x12480000
#define CFG_WATCHDOG_MAGIC_MASK 0xFFFF0000
#define CFG_DSPIC_TEST_MASK 0x00000001
+#define CFG_OCM_STATUS_OK 0x00009A00
+#define CFG_OCM_STATUS_FAIL 0x0000A300
+#define CFG_OCM_STATUS_MASK 0x0000FF00
/*-----------------------------------------------------------------------
* Serial Port
@@ -162,6 +167,7 @@
CFG_POST_FPU | \
CFG_POST_I2C | \
CFG_POST_MEMORY | \
+ CFG_POST_OCM | \
CFG_POST_RTC | \
CFG_POST_SPR | \
CFG_POST_UART | \