Merge branch 'master' of /home/wd/git/u-boot/lwmon5
Conflicts: common/cmd_bootm.c common/cmd_log.c include/common.h post/board/lwmon5/Makefile post/board/lwmon5/dsp.c post/board/lwmon5/dspic.c post/board/lwmon5/fpga.c post/board/lwmon5/gdc.c post/board/lwmon5/sysmon.c post/board/lwmon5/watchdog.c Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
@@ -154,6 +154,9 @@ typedef struct global_data {
|
||||
#endif
|
||||
#if defined(CONFIG_LWMON) || defined(CONFIG_LWMON5)
|
||||
unsigned long kbd_status;
|
||||
#endif
|
||||
#if defined(CONFIG_WD_MAX_RATE)
|
||||
unsigned long long wdt_last; /* trace watch-dog triggering rate */
|
||||
#endif
|
||||
void **jt; /* jump table */
|
||||
} gd_t;
|
||||
|
||||
@@ -681,4 +681,8 @@ int cpu_reset(int nr);
|
||||
int cpu_release(int nr, int argc, char *argv[]);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_POST
|
||||
#define CONFIG_HAS_POST
|
||||
#endif
|
||||
|
||||
#endif /* __COMMON_H_ */
|
||||
|
||||
@@ -98,6 +98,15 @@
|
||||
#define CFG_WATCHDOG_MAGIC_MASK 0xFFFF0000
|
||||
#define CFG_DSPIC_TEST_MASK 0x00000001
|
||||
|
||||
/* Additional registers for watchdog timer post test */
|
||||
|
||||
#define CFG_DSPIC_TEST_ADDR (CFG_PERIPHERAL_BASE + GPT0_COMP5)
|
||||
#define CFG_WATCHDOG_TIME_ADDR (CFG_PERIPHERAL_BASE + GPT0_COMP4)
|
||||
#define CFG_WATCHDOG_FLAGS_ADDR (CFG_PERIPHERAL_BASE + GPT0_COMP5)
|
||||
#define CFG_WATCHDOG_MAGIC 0x12480000
|
||||
#define CFG_WATCHDOG_MAGIC_MASK 0xFFFF0000
|
||||
#define CFG_DSPIC_TEST_MASK 0x00000001
|
||||
|
||||
/*-----------------------------------------------------------------------
|
||||
* Serial Port
|
||||
*----------------------------------------------------------------------*/
|
||||
@@ -452,6 +461,7 @@
|
||||
|
||||
#define CONFIG_HW_WATCHDOG 1 /* Use external HW-Watchdog */
|
||||
#define CONFIG_WD_PERIOD 40000 /* in usec */
|
||||
#define CONFIG_WD_MAX_RATE 66600 /* in ticks */
|
||||
|
||||
/*
|
||||
* For booting Linux, the board info and command line data
|
||||
|
||||
Reference in New Issue
Block a user