From 498bb3da7e04ed82d9b66106c4baeb3000a7100e Mon Sep 17 00:00:00 2001 From: Thierry Reding Date: Tue, 6 May 2014 17:04:11 +0200 Subject: [PATCH] ARM: tegra: Support reboot modes The boot ROM on Tegra SoCs supports booting into forced recovery mode (RCM) by setting a bit in the PMC scratch register 0. Similarily, the Android bootloader examines some of the bits in this register to disable autoboot or enter recovery mode. Support these modes by setting the corresponding bits depending on the specified reboot command (forced-recovery, bootloader, recovery). Recent systemd-based distributions allow this to be specified using an optional argument to the reboot command. Signed-off-by: Thierry Reding Tested-by: Alexandre Courbot Signed-off-by: Stephen Warren --- Reading git-format-patch failed