mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
support blackfin board initialization in generic board_f
- init hardware watchdog if applicable - use CONFIG_SYS_MONITOR_LEN as the gd monitor len for Blackfin - reserve u-boot memory at the top field of the RAM for Blackfin - avoid refer to CONFIG_SYS_MONITOR_LEN, which is not defined by Blackfin Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
This commit is contained in:
parent
c49eabeffc
commit
d54d7eb965
2 changed files with 36 additions and 12 deletions
|
@ -21,7 +21,8 @@
|
|||
int init_func_watchdog_reset(void);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_WATCHDOG
|
||||
#if defined(CONFIG_SYS_GENERIC_BOARD) && \
|
||||
(defined(CONFIG_WATCHDOG) || defined(CONFIG_HW_WATCHDOG))
|
||||
#define INIT_FUNC_WATCHDOG_INIT init_func_watchdog_init,
|
||||
#define INIT_FUNC_WATCHDOG_RESET init_func_watchdog_reset,
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue