]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
tegra: add enterrcm command
authorStephen Warren <swarren@nvidia.com>
Mon, 4 Jun 2012 09:23:55 +0000 (09:23 +0000)
committerAlbert ARIBAUD (U-Boot) <uboot@lilith.(none)>
Mon, 9 Jul 2012 20:44:33 +0000 (22:44 +0200)
commit9cd3f3adf03bdbc5ea4514f00e2cfacfb1ae5bed
treef67953f13858978da6bdbcc9623f2357e069b333
parent0a7bec7f991950da90c6ee6bc59f322abebccbb7
tegra: add enterrcm command

Tegra's boot ROM supports a mode whereby code may be downloaded and flash
programmed over a USB connection. On dev boards, this is typically entered
by holding down a "force recovery" button and resetting the CPU. However,
not all boards have such a button (one example is the Compulab Trimslice),
so a method to enter RCM from software is useful.

This change implements the command "enterrcm" to do this, and enables it
for all Tegra boards by default. Even on boards other than Trimslice,
controlling this over a UART may be useful, e.g. to allow simple remote
control without the need for mechanical button actuators, or hooking up
relays/... to the button.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/armv7/tegra2/Makefile
arch/arm/cpu/armv7/tegra2/cmd_enterrcm.c [new file with mode: 0644]
include/configs/tegra2-common.h