drm/panthor: Don't add write fences to the shared BOs
[drm/drm-misc.git] / arch / mips / loongson2ef / fuloong-2e / reset.c
blob8273de1cf4bbce8b0f8a44015ab9a771a5bbb0b7
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* Board-specific reboot/shutdown routines
3 * Copyright (c) 2009 Philippe Vachon <philippe@cowpig.ca>
5 * Copyright (C) 2009 Lemote Inc.
6 * Author: Wu Zhangjin, wuzhangjin@gmail.com
7 */
9 #include <loongson.h>
11 void mach_prepare_reboot(void)
13 LOONGSON_GENCFG &= ~(1 << 2);
14 LOONGSON_GENCFG |= (1 << 2);
17 void mach_prepare_shutdown(void)