diff options
author | Patrick Delaunay <patrick.delaunay@foss.st.com> | 2021-07-19 12:21:50 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-29 02:30:22 +0300 |
commit | 558e699d156ebe7f0b51e05a2e38f35fbaa78b0f (patch) | |
tree | b2572db698e770ef83981fea3cb8a800b3bfe716 /board/hoperun/hihope-rzg2 | |
parent | 6a2626a9d0f69b2e1158edc63319e43892600e9e (diff) | |
download | u-boot-558e699d156ebe7f0b51e05a2e38f35fbaa78b0f.tar.xz |
arm: use the correct prototype for reset_cpu function
Align reset_cpu function with the next prototypes in
sysreset.h or in cpu_func.h to solve compilation issue:
void reset_cpu(void);
This patch solves the prototype conflict when cpu_func.h is
included.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'board/hoperun/hihope-rzg2')
-rw-r--r-- | board/hoperun/hihope-rzg2/hihope-rzg2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/hoperun/hihope-rzg2/hihope-rzg2.c b/board/hoperun/hihope-rzg2/hihope-rzg2.c index c1bfdcbc1d..c1db387b27 100644 --- a/board/hoperun/hihope-rzg2/hihope-rzg2.c +++ b/board/hoperun/hihope-rzg2/hihope-rzg2.c @@ -65,7 +65,7 @@ int board_init(void) return 0; } -void reset_cpu(ulong addr) +void reset_cpu(void) { unsigned long midr, cputype; |