blob: 53ecc0ce0d7f5dc8c32eb2d2611018644846c615 [file] [log] [blame]
Scott Branden79866882014-08-11 13:58:23 -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 CRMU_MAIL_BOX1 0x03024028
11#define CRMU_SOFT_RESET_CMD 0xFFFFFFFF
12
13void reset_cpu(ulong ignored)
14{
15 /* Send soft reset command via Mailbox. */
16 writel(CRMU_SOFT_RESET_CMD, CRMU_MAIL_BOX1);
17
18 while (1)
19 ; /* loop forever till reset */
20}