xref: /kernel/linux/linux-6.6/arch/mips/loongson2ef/fuloong-2e/reset.c (revision 62306a36)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/arch/mips/loongson2ef/fuloong-2e/
162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-or-later
262306a36Sopenharmony_ci/* Board-specific reboot/shutdown routines
362306a36Sopenharmony_ci * Copyright (c) 2009 Philippe Vachon <philippe@cowpig.ca>
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Copyright (C) 2009 Lemote Inc.
662306a36Sopenharmony_ci * Author: Wu Zhangjin, wuzhangjin@gmail.com
762306a36Sopenharmony_ci */
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci#include <loongson.h>
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_civoid mach_prepare_reboot(void)
1262306a36Sopenharmony_ci{
1362306a36Sopenharmony_ci	LOONGSON_GENCFG &= ~(1 << 2);
1462306a36Sopenharmony_ci	LOONGSON_GENCFG |= (1 << 2);
1562306a36Sopenharmony_ci}
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_civoid mach_prepare_shutdown(void)
1862306a36Sopenharmony_ci{
1962306a36Sopenharmony_ci}
20

Indexes created Thu Nov 07 10:32:03 CST 2024