summaryrefslogtreecommitdiff
path: root/test/command_ut.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-03-30 21:30:56 +0000
committerWolfgang Denk <wd@denx.de>2012-08-09 22:06:23 +0200
commit3a8a02beb75d8b3736d0e40ad4d071413869e363 (patch)
tree1a66c6999706e880411a82fbc8f42ed8d1a1bf0d /test/command_ut.c
parentd51004a832a9784f4c6af5482d4dace6bfd938c4 (diff)
downloadu-boot-imx-3a8a02beb75d8b3736d0e40ad4d071413869e363.zip
u-boot-imx-3a8a02beb75d8b3736d0e40ad4d071413869e363.tar.gz
u-boot-imx-3a8a02beb75d8b3736d0e40ad4d071413869e363.tar.bz2
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 'test/command_ut.c')
0 files changed, 0 insertions, 0 deletions