]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
lwmon5: minor clean-up to include/configs/lwmon5.h
authorYuri Tikhonov <yur@emcraft.com>
Tue, 29 Apr 2008 13:06:41 +0000 (15:06 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 29 Apr 2008 14:10:38 +0000 (16:10 +0200)
LWMON5 DSPIC POST uses the watch-dog scratch register. So, make
the CFG_DSPIC_TEST_ADDR definition more readable.

Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
include/configs/lwmon5.h

index 690584a786bf848a286330dac100fe42cb19d515..1f669aa8f688785abc0d1dce7a94b630ee9ef0a1 100644 (file)
@@ -91,9 +91,9 @@
 
 /* Additional registers for watchdog timer post test */
 
-#define CFG_DSPIC_TEST_ADDR    (CFG_PERIPHERAL_BASE + GPT0_MASK1)
 #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_WATCHDOG_MAGIC     0x12480000
 #define CFG_WATCHDOG_MAGIC_MASK        0xFFFF0000
 #define CFG_DSPIC_TEST_MASK    0x00000001