diff options
author | Tom Rini <trini@konsulko.com> | 2020-01-20 12:23:33 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-01-20 12:23:33 -0500 |
commit | c7819d409ab7671991bf906482b7adcc21266f75 (patch) | |
tree | eab7a9eba205f31dd1f4b606ec58d64ec5e933f1 /arch/sh | |
parent | c8a1198665b81113535e89c791a7991abe481d62 (diff) | |
parent | addc376318d765902027021d88f693e95d1e1bcd (diff) |
Merge branch '2020-01-17-reduce-size-of-common-h-even-more'
- Bring in Simon Glass's series that reduces what we have in <common.h>
even more.
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/cpu/sh4/cpu.c | 2 | ||||
-rw-r--r-- | arch/sh/cpu/sh4/watchdog.c | 1 | ||||
-rw-r--r-- | arch/sh/lib/board.c | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/arch/sh/cpu/sh4/cpu.c b/arch/sh/cpu/sh4/cpu.c index f1b8df9b0b..a8d0590d51 100644 --- a/arch/sh/cpu/sh4/cpu.c +++ b/arch/sh/cpu/sh4/cpu.c @@ -31,7 +31,7 @@ int cleanup_before_linux (void) int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { disable_interrupts(); - reset_cpu (0); + reset_cpu(0); return 0; } diff --git a/arch/sh/cpu/sh4/watchdog.c b/arch/sh/cpu/sh4/watchdog.c index 7c157bc035..1de32cd419 100644 --- a/arch/sh/cpu/sh4/watchdog.c +++ b/arch/sh/cpu/sh4/watchdog.c @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0+ #include <common.h> +#include <cpu_func.h> #include <asm/processor.h> #include <asm/system.h> #include <asm/io.h> diff --git a/arch/sh/lib/board.c b/arch/sh/lib/board.c index 533fcf8906..a6a8f07e6f 100644 --- a/arch/sh/lib/board.c +++ b/arch/sh/lib/board.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <init.h> DECLARE_GLOBAL_DATA_PTR; |