]> git.dujemihanovic.xyz Git - u-boot.git/commit
sh4: move reset_cpu() from watchdog.c to cpu.c
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Tue, 28 May 2024 11:13:22 +0000 (13:13 +0200)
committerStefan Roese <sr@denx.de>
Sun, 16 Jun 2024 10:14:05 +0000 (12:14 +0200)
commit167f841ed44ea0e09f1f24d1eb66aa4fd84ffa15
tree3d41e75baa6e0399bda88ea293e15f2e7459d4fc
parent945fc278226cf2de432ac9ccf56b23520300afce
sh4: move reset_cpu() from watchdog.c to cpu.c

The next patch will remove all the other code from watchdog.c, which
would leave just this function in there. It seems just as natural for
this function to be defined in cpu.c, allowing us to delete watchdog.c
completely.

Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/sh/cpu/sh4/cpu.c
arch/sh/cpu/sh4/watchdog.c