Re: [PATCH 2/3] watchdog: move initr_watchdog() to wdt-uclass.c

2020-03-14 Thread Stefan Roese
On 13.03.20 17:04, Rasmus Villemoes wrote: This function is a bit large for an inline function, and for U-Boot proper, it is called via a function pointer anyway (in board_r.c), so cannot be inlined. It will shortly set a global variable to be used by the watchdog_reset() function in wdt-uclass.

[PATCH 2/3] watchdog: move initr_watchdog() to wdt-uclass.c

2020-03-13 Thread Rasmus Villemoes
This function is a bit large for an inline function, and for U-Boot proper, it is called via a function pointer anyway (in board_r.c), so cannot be inlined. It will shortly set a global variable to be used by the watchdog_reset() function in wdt-uclass.c, so this also allows making that variable l