![]() |
|
|||
0001 // SPDX-License-Identifier: GPL-2.0-or-later 0002 /* Board-specific reboot/shutdown routines 0003 * Copyright (c) 2009 Philippe Vachon <philippe@cowpig.ca> 0004 * 0005 * Copyright (C) 2009 Lemote Inc. 0006 * Author: Wu Zhangjin, wuzhangjin@gmail.com 0007 */ 0008 0009 #include <loongson.h> 0010 0011 void mach_prepare_reboot(void) 0012 { 0013 LOONGSON_GENCFG &= ~(1 << 2); 0014 LOONGSON_GENCFG |= (1 << 2); 0015 } 0016 0017 void mach_prepare_shutdown(void) 0018 { 0019 }
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |