2022-06-08 21:21:34 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
/*
|
|
|
|
* GXP driver
|
|
|
|
*
|
|
|
|
* (C) Copyright 2022 Hewlett Packard Enterprise Development LP.
|
|
|
|
* Author: Nick Hawkins <nick.hawkins@hpe.com>
|
|
|
|
* Author: Jean-Marie Verdun <verdun@hpe.com>
|
|
|
|
*/
|
|
|
|
|
2023-03-09 16:22:07 +00:00
|
|
|
#include <cpu_func.h>
|
2022-06-08 21:21:34 +00:00
|
|
|
#include <asm/io.h>
|
|
|
|
|
|
|
|
#define GXP_CCR 0xc0000000
|
|
|
|
|
|
|
|
/* empty to satisfy current lowlevel_init, can be removed any time */
|
|
|
|
void lowlevel_init(void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2023-03-09 16:22:07 +00:00
|
|
|
void reset_cpu(void)
|
2022-06-08 21:21:34 +00:00
|
|
|
{
|
|
|
|
writel(1, GXP_CCR);
|
|
|
|
|
|
|
|
while (1)
|
|
|
|
; /* loop forever till reset */
|
|
|
|
}
|