1*83d290c5STom Rini // SPDX-License-Identifier: GPL-2.0+ 279866880SScott Branden /* 379866880SScott Branden * Copyright 2014 Broadcom Corporation. 479866880SScott Branden */ 579866880SScott Branden 679866880SScott Branden #include <common.h> 779866880SScott Branden #include <asm/io.h> 879866880SScott Branden 979866880SScott Branden #define CRMU_MAIL_BOX1 0x03024028 1079866880SScott Branden #define CRMU_SOFT_RESET_CMD 0xFFFFFFFF 1179866880SScott Branden reset_cpu(ulong ignored)1279866880SScott Brandenvoid reset_cpu(ulong ignored) 1379866880SScott Branden { 1479866880SScott Branden /* Send soft reset command via Mailbox. */ 1579866880SScott Branden writel(CRMU_SOFT_RESET_CMD, CRMU_MAIL_BOX1); 1679866880SScott Branden 1779866880SScott Branden while (1) 1879866880SScott Branden ; /* loop forever till reset */ 1979866880SScott Branden } 20