forked from Qortal/Brooklyn
84ba5b15ac
* Enhance GPIO addon for Noctua Fans for the Qortector upcoming case. This will put PWM signal to real-time. * Fixed RDP not letting a user login if not logged out on Cinnamon release (reported by Crowetic) * Update i2c sensor db * Fixed DRM broadcast over HDMI 2+ * Ease up DHCP security only to prevent Brooklyn blocking routers. * Add possibility to add extra memory for Cinnamon Desktop Release * Fix error message of Software Render mode on Cinnamon Desktop * Add proper offset for HD screens for pixel array *Fixed HDMI jitter for videocore4 GPU * Enable all radios (including Bluetooth)
17 lines
382 B
C
17 lines
382 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* Copyright (C) 2013 Uwe Kleine-Koenig for Pengutronix
|
|
*/
|
|
#include <linux/io.h>
|
|
#include <linux/reboot.h>
|
|
#include <asm/barrier.h>
|
|
#include <asm/v7m.h>
|
|
|
|
void armv7m_restart(enum reboot_mode mode, const char *cmd)
|
|
{
|
|
dsb();
|
|
__raw_writel(V7M_SCB_AIRCR_VECTKEY | V7M_SCB_AIRCR_SYSRESETREQ,
|
|
BASEADDR_V7M_SCB + V7M_SCB_AIRCR);
|
|
dsb();
|
|
}
|