Re: [U-Boot] [PATCH 05/30] wdt: Move code out of the header

2019-10-27 Thread Stefan Roese
On 27.10.19 16:53, Simon Glass wrote: We should not have C code in a header file. Move it into a shared C file so it can be used by U-Boot and SPL. Signed-off-by: Simon Glass Reviewed-by: Stefan Roese Thanks, Stefan --- common/init/Makefile | 1 + common/init/wdt.c| 46 ++

[U-Boot] [PATCH 05/30] wdt: Move code out of the header

2019-10-27 Thread Simon Glass
We should not have C code in a header file. Move it into a shared C file so it can be used by U-Boot and SPL. Signed-off-by: Simon Glass --- common/init/Makefile | 1 + common/init/wdt.c| 46 include/init.h | 7 +++ include/wdt.h