cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

restart.c (323B)


      1// 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}