Remove unnecessary use of hush header file
authorSimon Glass <sjg@chromium.org>
Fri, 11 Apr 2014 02:01:23 +0000 (20:01 -0600)
committerTom Rini <trini@ti.com>
Thu, 29 May 2014 21:45:31 +0000 (17:45 -0400)
Some files include hush.h but don't actually use it. Remove this where
possible.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/cpu/arm926ejs/kirkwood/cpu.c
arch/arm/cpu/arm926ejs/orion5x/cpu.c
board/ait/cam_enc_4xx/cam_enc_4xx.c
board/mcc200/auto_update.c
common/cmd_bootm.c
common/cmd_bootmenu.c

index d4711c070c3ddaef84740c608d75cb0d6c5617bd..093750626886d48c1c3f3a99077506eb21c2d0e2 100644 (file)
@@ -13,7 +13,6 @@
 #include <asm/io.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/kirkwood.h>
-#include <hush.h>
 
 #define BUFLEN 16
 
index b55c5f09433b776614cefa407be521a2a3446c58..f88db3b1f96ad400fdf47c0e3bbd83f91a46ed6a 100644 (file)
@@ -15,7 +15,6 @@
 #include <asm/io.h>
 #include <u-boot/md5.h>
 #include <asm/arch/cpu.h>
-#include <hush.h>
 
 #define BUFLEN 16
 
index 7e1b16ac4655317e121fe46e5adf5159bd86f10d..b5cc3ed36356bcb51a46ebcea819ab4e8815eb71 100644 (file)
@@ -9,7 +9,6 @@
 
 #include <common.h>
 #include <errno.h>
-#include <hush.h>
 #include <linux/mtd/nand.h>
 #include <nand.h>
 #include <miiphy.h>
index 2f622b0846e103f5b3036322269e5577ca451427..43173ce060d56817353595d681bbf531cba1c76a 100644 (file)
 #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;
        }
 
index 34b4b583baafc1bb0ca62df3ea89fc7bb2ae2da9..449bb363f554a622d11834dbc149b2951185c6c1 100644 (file)
 #include <usb.h>
 #endif
 
-#ifdef CONFIG_SYS_HUSH_PARSER
-#include <hush.h>
-#endif
-
 #if defined(CONFIG_OF_LIBFDT)
 #include <libfdt.h>
 #include <fdt_support.h>
index 163d5b2e2bdb1119e9f3f8f54ec0e43635726557..5879065c2ea45cc7b9731884aad1aa9a95128340 100644 (file)
@@ -8,7 +8,6 @@
 #include <command.h>
 #include <ansi.h>
 #include <menu.h>
-#include <hush.h>
 #include <watchdog.h>
 #include <malloc.h>
 #include <linux/string.h>