diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-06-04 09:23:55 (GMT) |
---|---|---|
committer | Albert ARIBAUD (U-Boot) <uboot@lilith.(none)> | 2012-07-09 20:44:33 (GMT) |
commit | 9cd3f3adf03bdbc5ea4514f00e2cfacfb1ae5bed (patch) | |
tree | f67953f13858978da6bdbcc9623f2357e069b333 /include | |
parent | 0a7bec7f991950da90c6ee6bc59f322abebccbb7 (diff) | |
download | u-boot-9cd3f3adf03bdbc5ea4514f00e2cfacfb1ae5bed.tar.xz |
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/tegra2-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/tegra2-common.h b/include/configs/tegra2-common.h index 20f294e..f61fb5a 100644 --- a/include/configs/tegra2-common.h +++ b/include/configs/tegra2-common.h @@ -193,4 +193,5 @@ #define CONFIG_TEGRA_GPIO #define CONFIG_CMD_GPIO +#define CONFIG_CMD_ENTERRCM #endif /* __TEGRA2_COMMON_H */ |