Commit b2d527a8b9fb50afccbaf79b5540952585cdc760
Committed by
Wolfgang Denk
1 parent
138105efe1
Exists in
master
and in
54 other branches
lwmon5: minor clean-up to include/configs/lwmon5.h
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
include/configs/lwmon5.h
... | ... | @@ -91,9 +91,9 @@ |
91 | 91 | |
92 | 92 | /* Additional registers for watchdog timer post test */ |
93 | 93 | |
94 | -#define CFG_DSPIC_TEST_ADDR (CFG_PERIPHERAL_BASE + GPT0_MASK1) | |
95 | 94 | #define CFG_WATCHDOG_TIME_ADDR (CFG_PERIPHERAL_BASE + GPT0_MASK2) |
96 | 95 | #define CFG_WATCHDOG_FLAGS_ADDR (CFG_PERIPHERAL_BASE + GPT0_MASK1) |
96 | +#define CFG_DSPIC_TEST_ADDR CFG_WATCHDOG_FLAGS_ADDR | |
97 | 97 | #define CFG_WATCHDOG_MAGIC 0x12480000 |
98 | 98 | #define CFG_WATCHDOG_MAGIC_MASK 0xFFFF0000 |
99 | 99 | #define CFG_DSPIC_TEST_MASK 0x00000001 |