forked from luck/tmp_suning_uos_patched
f7a904dffe
Currently wuzj@lemote.com is not usable; change it to wuzhangjin@gmail.com. Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com> Cc: linux-mips@linux-mips.org Cc: yanh@lemote.com Cc: huhb@lemote.com Cc: zhangfx@lemote.com Patchwork: http://patchwork.linux-mips.org/patch/829/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
24 lines
607 B
C
24 lines
607 B
C
/* Board-specific reboot/shutdown routines
|
|
* Copyright (c) 2009 Philippe Vachon <philippe@cowpig.ca>
|
|
*
|
|
* Copyright (C) 2009 Lemote Inc.
|
|
* Author: Wu Zhangjin, wuzhangjin@gmail.com
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published by the
|
|
* Free Software Foundation; either version 2 of the License, or (at your
|
|
* option) any later version.
|
|
*/
|
|
|
|
#include <loongson.h>
|
|
|
|
void mach_prepare_reboot(void)
|
|
{
|
|
LOONGSON_GENCFG &= ~(1 << 2);
|
|
LOONGSON_GENCFG |= (1 << 2);
|
|
}
|
|
|
|
void mach_prepare_shutdown(void)
|
|
{
|
|
}
|