mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-02 20:41:38 +02:00
- Fix SPL build with watchdog disabled in asm files (Pali)
This commit is contained in:
commit
6530de23e9
@ -49,7 +49,13 @@ int init_func_watchdog_reset(void);
|
||||
*/
|
||||
#if defined(CONFIG_WATCHDOG)
|
||||
#if defined(__ASSEMBLY__)
|
||||
/* Don't require the watchdog to be enabled in SPL */
|
||||
#if defined(CONFIG_SPL_BUILD) && \
|
||||
!defined(CONFIG_SPL_WATCHDOG)
|
||||
#define WATCHDOG_RESET /*XXX DO_NOT_DEL_THIS_COMMENT*/
|
||||
#else
|
||||
#define WATCHDOG_RESET bl watchdog_reset
|
||||
#endif
|
||||
#else
|
||||
/* Don't require the watchdog to be enabled in SPL */
|
||||
#if defined(CONFIG_SPL_BUILD) && \
|
||||
|
Loading…
x
Reference in New Issue
Block a user