Some platforms were not including <cpu_func.h> which sets the prototype
for reset_cpu, and in turn had it set wrong. Correct these cases.
Signed-off-by: Tom Rini <trini@konsulko.com>
* Author: Jean-Marie Verdun <verdun@hpe.com>
*/
+#include <cpu_func.h>
#include <asm/io.h>
#define GXP_CCR 0xc0000000
{
}
-void reset_cpu(ulong ignored)
+void reset_cpu(void)
{
writel(1, GXP_CCR);
* Author: Sam Shih <sam.shih@mediatek.com>
*/
+#include <cpu_func.h>
#include <init.h>
#include <asm/armv8/mmu.h>
#include <asm/system.h>
return 0;
}
-void reset_cpu(ulong addr)
+void reset_cpu(void)
{
psci_system_reset();
}
* Author: Sam Shih <sam.shih@mediatek.com>
*/
+#include <cpu_func.h>
#include <init.h>
#include <asm/armv8/mmu.h>
#include <asm/system.h>
return 0;
}
-void reset_cpu(ulong addr)
+void reset_cpu(void)
{
psci_system_reset();
}
*/
#include <common.h>
+#include <cpu_func.h>
#include <dm.h>
#include <netdev.h>
#include <dm/platform_data/serial_pl01x.h>
return 0;
}
-void reset_cpu(ulong addr)
+void reset_cpu(void)
{
}
*/
#include <common.h>
+#include <cpu_func.h>
#include <bootstage.h>
#include <dm.h>
#include <dm/platform_data/serial_mxc.h>
return -1;
}
-void reset_cpu(ulong addr)
+void reset_cpu(void)
{
puts("Hanging CPU for watchdog reset!\n");
hang();