xref: /kernel/linux/linux-5.10/arch/arm/mach-iop32x/restart.c
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/arch/arm/mach-iop32x/
18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * restart.c
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright (C) 2001 MontaVista Software, Inc.
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci#include <asm/system_misc.h>
88c2ecf20Sopenharmony_ci#include "hardware.h"
98c2ecf20Sopenharmony_ci#include "iop3xx.h"
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_civoid iop3xx_restart(enum reboot_mode mode, const char *cmd)
128c2ecf20Sopenharmony_ci{
138c2ecf20Sopenharmony_ci	*IOP3XX_PCSR = 0x30;
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci	/* Jump into ROM at address 0 */
168c2ecf20Sopenharmony_ci	soft_restart(0);
178c2ecf20Sopenharmony_ci}
18

Indexes created Thu Nov 07 10:32:03 CST 2024