Merge branch 'next' of https://gitlab.denx.de/u-boot/custodians/u-boot-marvell into next
- Handling all DM watchdogs in watchdog_reset() (Rasmus)
This commit is contained in:
@@ -447,12 +447,6 @@ struct global_data {
|
||||
*/
|
||||
fdt_addr_t translation_offset;
|
||||
#endif
|
||||
#if CONFIG_IS_ENABLED(WDT)
|
||||
/**
|
||||
* @watchdog_dev: watchdog device
|
||||
*/
|
||||
struct udevice *watchdog_dev;
|
||||
#endif
|
||||
#ifdef CONFIG_GENERATE_ACPI_TABLE
|
||||
/**
|
||||
* @acpi_ctx: ACPI context pointer
|
||||
|
||||
@@ -37,6 +37,14 @@ int wdt_start(struct udevice *dev, u64 timeout_ms, ulong flags);
|
||||
*/
|
||||
int wdt_stop(struct udevice *dev);
|
||||
|
||||
/*
|
||||
* Stop all registered watchdog devices.
|
||||
*
|
||||
* @return: 0 if ok, first error encountered otherwise (but wdt_stop()
|
||||
* is still called on following devices)
|
||||
*/
|
||||
int wdt_stop_all(void);
|
||||
|
||||
/*
|
||||
* Reset the timer, typically restoring the counter to
|
||||
* the value configured by start()
|
||||
|
||||
Reference in New Issue
Block a user