root/arch/mips/loongson64/fuloong-2e/reset.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. mach_prepare_reboot
  2. mach_prepare_shutdown

   1 // SPDX-License-Identifier: GPL-2.0-or-later
   2 /* Board-specific reboot/shutdown routines
   3  * Copyright (c) 2009 Philippe Vachon <philippe@cowpig.ca>
   4  *
   5  * Copyright (C) 2009 Lemote Inc.
   6  * Author: Wu Zhangjin, wuzhangjin@gmail.com
   7  */
   8 
   9 #include <loongson.h>
  10 
  11 void mach_prepare_reboot(void)
  12 {
  13         LOONGSON_GENCFG &= ~(1 << 2);
  14         LOONGSON_GENCFG |= (1 << 2);
  15 }
  16 
  17 void mach_prepare_shutdown(void)
  18 {
  19 }

/* [<][>][^][v][top][bottom][index][help] */