summaryrefslogtreecommitdiff
path: root/board/congatec
diff options
context:
space:
mode:
authorPatrick Delaunay <[email protected]>2021-07-19 11:21:50 +0200
committerTom Rini <[email protected]>2021-07-28 19:30:22 -0400
commit558e699d156ebe7f0b51e05a2e38f35fbaa78b0f (patch)
treeb2572db698e770ef83981fea3cb8a800b3bfe716 /board/congatec
parent6a2626a9d0f69b2e1158edc63319e43892600e9e (diff)
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 <[email protected]>
Diffstat (limited to 'board/congatec')
-rw-r--r--board/congatec/cgtqmx8/cgtqmx8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/congatec/cgtqmx8/cgtqmx8.c b/board/congatec/cgtqmx8/cgtqmx8.c
index fb0cf091389..a50a052df76 100644
--- a/board/congatec/cgtqmx8/cgtqmx8.c
+++ b/board/congatec/cgtqmx8/cgtqmx8.c
@@ -374,7 +374,7 @@ void detail_board_ddr_info(void)
/*
* Board specific reset that is system reset.
*/
-void reset_cpu(ulong addr)
+void reset_cpu(void)
{
/* TODO */
}