summaryrefslogtreecommitdiff
path: root/board/mcc200
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-04-10 20:01:23 -0600
committerTom Rini <trini@ti.com>2014-05-29 17:45:31 -0400
commitae4223f4444d7e673ff6b4a066c8584858629025 (patch)
tree44d32dab204b3169532beaae708f44dbb65d3607 /board/mcc200
parentf23adc9f219977e603cf057a2704605349f02d36 (diff)
downloadu-boot-imx-ae4223f4444d7e673ff6b4a066c8584858629025.zip
u-boot-imx-ae4223f4444d7e673ff6b4a066c8584858629025.tar.gz
u-boot-imx-ae4223f4444d7e673ff6b4a066c8584858629025.tar.bz2
Remove unnecessary use of hush header file
Some files include hush.h but don't actually use it. Remove this where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/mcc200')
-rw-r--r--board/mcc200/auto_update.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/board/mcc200/auto_update.c b/board/mcc200/auto_update.c
index 2f622b0..43173ce 100644
--- a/board/mcc200/auto_update.c
+++ b/board/mcc200/auto_update.c
@@ -12,11 +12,6 @@
#include <usb.h>
#include <part.h>
-#ifdef CONFIG_SYS_HUSH_PARSER
-#include <hush.h>
-#endif
-
-
#ifdef CONFIG_AUTO_UPDATE
#ifndef CONFIG_USB_OHCI
@@ -247,7 +242,7 @@ int au_do_update(int idx, long sz)
/* parse_string_outer() runs off the end. */
addr[image_get_data_size (hdr)] = 0;
addr += 8;
- parse_string_outer(addr, FLAG_PARSE_SEMICOLON);
+ run_command_list(addr, -1, 0);
return 0;
}