diff options
| author | Tom Rini <[email protected]> | 2019-04-26 13:50:00 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2019-04-26 13:50:00 -0400 |
| commit | 07b68b7843ad1fa15d63dcd26b5ca5a053fcc27f (patch) | |
| tree | f9b57804a3f3c57efcb5a17c836396b3b04dbf5f /include/asm-generic | |
| parent | 1c64692df20c1f491ea79de3a732428611bb0ba0 (diff) | |
| parent | b684d4031b38b6b6a9e22676c7c6e2770e767cc7 (diff) | |
Merge git://git.denx.de/u-boot-marvell
- Add DM based generic watchdog start and reset implementation
and remove all ad-hoc implementations (Stefan)
- Move mv_sdhci to DM (Pierre)
- Misc turris_omnia updates (Pierre)
- Change openrd targets to correctly build again (size changes
and fixes to the dts targets) and bring it back into Travis
builds (Stefan)
- Add Kirkwood db-88f6281-bp board (Chris)
Diffstat (limited to 'include/asm-generic')
| -rw-r--r-- | include/asm-generic/global_data.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h index 65ee3e5d5a0..02a3ed68382 100644 --- a/include/asm-generic/global_data.h +++ b/include/asm-generic/global_data.h @@ -137,6 +137,9 @@ typedef struct global_data { #if defined(CONFIG_TRANSLATION_OFFSET) fdt_addr_t translation_offset; /* optional translation offset */ #endif +#if defined(CONFIG_WDT) + struct udevice *watchdog_dev; +#endif } gd_t; #endif @@ -165,5 +168,6 @@ typedef struct global_data { #define GD_FLG_ENV_DEFAULT 0x02000 /* Default variable flag */ #define GD_FLG_SPL_EARLY_INIT 0x04000 /* Early SPL init is done */ #define GD_FLG_LOG_READY 0x08000 /* Log system is ready for use */ +#define GD_FLG_WDT_READY 0x10000 /* Watchdog is ready for use */ #endif /* __ASM_GENERIC_GBL_DATA_H */ |
