blob: d79d9aa3447f29300f134e2dc0449b4d225df073 [file] [log] [blame]
Scott Branden59f56be2014-08-11 13:58:24 -07001/*
2 * Copyright 2014 Broadcom Corporation.
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#include <common.h>
8#include <asm/io.h>
9
10#define CRU_RESET_OFFSET 0x1803F184
11
12void reset_cpu(ulong ignored)
13{
14 /* Reset the cpu by setting software reset request bit */
15 writel(0x1, CRU_RESET_OFFSET);
16
17 while (1)
18 ; /* loop forever till reset */
19}