blob: a147bcac18bd6098c3aa44febb939bf990dcae90 [file] [log] [blame]
Nick Hawkins0998a752022-06-08 16:21:34 -05001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * GXP driver
4 *
5 * (C) Copyright 2022 Hewlett Packard Enterprise Development LP.
6 * Author: Nick Hawkins <nick.hawkins@hpe.com>
7 * Author: Jean-Marie Verdun <verdun@hpe.com>
8 */
9
Tom Rinie3b32642023-03-09 11:22:07 -050010#include <cpu_func.h>
Nick Hawkins0998a752022-06-08 16:21:34 -050011#include <asm/io.h>
12
13#define GXP_CCR 0xc0000000
14
15/* empty to satisfy current lowlevel_init, can be removed any time */
16void lowlevel_init(void)
17{
18}
19
Tom Rinie3b32642023-03-09 11:22:07 -050020void reset_cpu(void)
Nick Hawkins0998a752022-06-08 16:21:34 -050021{
22 writel(1, GXP_CCR);
23
24 while (1)
25 ; /* loop forever till reset */
26}