diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-06-04 09:23:55 +0000 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2012-10-29 15:10:24 +0100 |
commit | 604c39da346537ac1168fdcde1dcfb12506b5416 (patch) | |
tree | a8c59d4bcc81bd86abcf91029b5ac6eb6837cb64 /include | |
parent | e0e076686a57328d75578f27f1927ae983a0b958 (diff) |
tegra: add enterrcm command
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/tegra-common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h index 8c4448beca4..150fb979862 100644 --- a/include/configs/tegra-common.h +++ b/include/configs/tegra-common.h @@ -380,4 +380,6 @@ #define CONFIG_BOOTCOMMAND "run non_verified_boot" +#define CONFIG_CMD_ENTERRCM + #endif |