blob: 3dfa54d3a7a8a579bc00ba54cc4100ef278803e2 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * restart.c
4 *
5 * Copyright (C) 2001 MontaVista Software, Inc.
6 */
7#include <asm/system_misc.h>
8#include "hardware.h"
9#include "iop3xx.h"
10
11void iop3xx_restart(enum reboot_mode mode, const char *cmd)
12{
13 *IOP3XX_PCSR = 0x30;
14
15 /* Jump into ROM at address 0 */
16 soft_restart(0);
17}