linux_dsm_epyc7002/arch/arm/mach-tegra
Thierry Reding 498bb3da7e 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 <treding@nvidia.com>
Tested-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
2014-05-07 09:58:03 -06:00
..
apbio.c tree-wide: use reinit_completion instead of INIT_COMPLETION 2013-11-15 09:32:21 +09:00
apbio.h ARM: tegra: apbio access using dma for tegra20 only 2012-07-06 11:48:56 -06:00
board-paz00.c ARM: tegra: add gpiod_lookup table for paz00 2013-12-11 12:49:29 +01:00
board.h ARM: tegra: delete stale header content 2013-09-17 13:44:21 -06:00
common.h Revert "ARM: tegra: add cpu_disable for hotplug" 2013-07-19 10:00:37 -06:00
cpuidle-tegra20.c ARM: tegra: disable LP2 cpuidle state if PCIe is enabled 2013-08-13 12:07:56 -06:00
cpuidle-tegra30.c ARM: tegra: don't pass CPU ID to tegra_{set,clear}_cpu_in_lp2 2013-06-05 11:44:58 -06:00
cpuidle-tegra114.c ARM: tegra: cpuidle: use firmware for power down 2014-02-18 13:46:50 -07:00
cpuidle.c ARM: tegra: enable CPU idle for Tegra124 2013-10-18 16:28:09 -06:00
cpuidle.h ARM: tegra: disable LP2 cpuidle state if PCIe is enabled 2013-08-13 12:07:56 -06:00
flowctrl.c ARM: tegra: add LP1 support code for Tegra124 2013-10-18 16:28:10 -06:00
flowctrl.h ARM: tegra: shut off the CPU rail when the last CPU in suspend 2013-07-19 10:08:07 -06:00
fuse.c ARM: tegra: SoC-specific core code changes 2013-12-26 11:02:25 -08:00
fuse.h ARM: tegra: add Tegra124 SoC support 2013-10-18 16:28:07 -06:00
headsmp.S ARM: tegra: do v7_invalidate_l1 only when CPU is Cortex-A9 2013-07-19 10:08:04 -06:00
hotplug.c ARM: tegra: CPU hotplug support for Tegra124 2013-10-18 16:28:08 -06:00
io.c ARM: tegra: don't include iomap.h from debug-macro.S 2012-11-16 12:22:17 -07:00
iomap.h ARM: tegra: use section-sized static mappings for LPAE too 2013-12-04 12:25:25 -07:00
irammap.h ARM: tegra: move resume vector define to irammap.h 2013-09-17 13:44:22 -06:00
irq.c ARM: tegra114: Reprogram GIC CPU interface to bypass IRQ on CPU PM entry 2013-07-19 10:07:14 -06:00
irq.h ARM: tegra: irq: add wake up handling 2013-04-03 14:31:32 -06:00
Kconfig ARM: SoC: cleanups for 3.15 2014-04-05 13:51:19 -07:00
Makefile ARM: tegra: remove tegra EMC scaling driver 2014-02-25 10:58:06 -07:00
platsmp.c ARM: tegra: don't timeout if CPU is powergated 2014-02-12 12:10:58 -07:00
pm-tegra20.c ARM: tegra: add LP1 suspend support for Tegra20 2013-08-12 13:30:11 -06:00
pm-tegra30.c ARM: tegra: add LP1 suspend support for Tegra30 2013-08-12 13:30:11 -06:00
pm.c arm, pm, vmpressure: add missing slab.h includes 2014-02-03 13:24:01 -05:00
pm.h ARM: tegra: delete stale header content 2013-09-17 13:44:21 -06:00
pmc.c ARM: tegra: Support reboot modes 2014-05-07 09:58:03 -06:00
pmc.h ARM: tegra: remove common.c 2013-09-17 13:44:21 -06:00
powergate.c ARM: tegra: Export I/O rail functions 2014-02-25 13:16:32 -07:00
reset-handler.S ARM: tegra: make tegra_resume can work with current and later chips 2013-10-18 16:28:08 -06:00
reset.c ARM: tegra: set CPU reset handler using firmware 2013-12-13 12:50:31 -07:00
reset.h ARM: tegra: add common LP1 suspend support 2013-08-12 13:29:24 -06:00
sleep-tegra20.S ARM: tegra: move resume vector define to irammap.h 2013-09-17 13:44:22 -06:00
sleep-tegra30.S ARM: tegra: add LP1 support code for Tegra124 2013-10-18 16:28:10 -06:00
sleep.h ARM: tegra: add LP1 suspend support for Tegra30 2013-08-12 13:30:11 -06:00
sleep.S ARM: tegra: add LP1 suspend support for Tegra30 2013-08-12 13:30:11 -06:00
tegra20_speedo.c ARM: tegra: Add speedo-based process identification 2012-11-15 14:34:20 -07:00
tegra30_speedo.c ARM: tegra: Tegra30 speedo-based process identification 2012-11-15 14:36:59 -07:00
tegra114_speedo.c ARM: tegra: add speedo-based process id for Tegra114 2013-03-19 11:52:06 -06:00
tegra.c ARM: tegra: only run PL310 init on systems with one 2014-02-18 20:30:59 -08:00