Re: [PATCH v3 4/4] wdt_z069: Add support for MEN 16z069 Watchdog

2023-04-17 Thread Johannes Thumshirn
On 17.04.23 07:04, Alistair Francis wrote: + +/* #define Z069_DEBUG 1 */ + +#ifdef Z069_DEBUG +#define z069_debug(fmt, ...)\ +fprintf(stderr, "wdt_z069: %s: "fmt, __func__, ##__VA_ARGS__) +#else +#define z069_debug(fmt, ...) +#endif Same comment from t

Re: [PATCH v3 4/4] wdt_z069: Add support for MEN 16z069 Watchdog

2023-04-16 Thread Alistair Francis
On Tue, Apr 11, 2023 at 3:50 AM Johannes Thumshirn wrote: > > Add 16z069 Watchdog over MEN Chameleon BUS emulation. > > Signed-off-by: Johannes Thumshirn > --- > hw/watchdog/Kconfig | 5 + > hw/watchdog/meson.build | 1 + > hw/watchdog/wdt_z069.c | 218 ++

[PATCH v3 4/4] wdt_z069: Add support for MEN 16z069 Watchdog

2023-04-10 Thread Johannes Thumshirn
Add 16z069 Watchdog over MEN Chameleon BUS emulation. Signed-off-by: Johannes Thumshirn --- hw/watchdog/Kconfig | 5 + hw/watchdog/meson.build | 1 + hw/watchdog/wdt_z069.c | 218 3 files changed, 224 insertions(+) create mode 100644 hw/watchdog