diff options
author | Simon Glass <sjg@chromium.org> | 2012-03-30 21:30:56 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-08-09 20:06:23 (GMT) |
commit | 3a8a02beb75d8b3736d0e40ad4d071413869e363 (patch) | |
tree | 1a66c6999706e880411a82fbc8f42ed8d1a1bf0d /common/cmd_terminal.c | |
parent | d51004a832a9784f4c6af5482d4dace6bfd938c4 (diff) | |
download | u-boot-fsl-qoriq-3a8a02beb75d8b3736d0e40ad4d071413869e363.tar.xz |
Allow newlines within command environment vars
Any environment variable can hold commands to be executed by the 'run'
command. The environment variables preboot, bootcmd and menucmd have
special code for triggering execution in certain circumstances.
We adjust these calls to use run_command_list() instead of run_command().
This change permits these variables to have embedded newlines so that
they work the same as the 'source' command.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/cmd_terminal.c')
0 files changed, 0 insertions, 0 deletions