summaryrefslogtreecommitdiffstats
path: root/board/keymile/common
diff options
context:
space:
mode:
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-06-25 10:39:58 +0200
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-06-25 10:39:58 +0200
commited1d98d801dfb6384d0f2fff45ce1ebf884944ca (patch)
tree5a9487c67b75606d3a723b7acb9eda8da200c871 /board/keymile/common
parent754466ac95e92ebf40e25c6af6f13ab9b4d7c87b (diff)
parentba9b42c81b0734d53edfbb1fe4a6ded7de78c5ab (diff)
downloadu-boot-ed1d98d801dfb6384d0f2fff45ce1ebf884944ca.tar.gz
u-boot-ed1d98d801dfb6384d0f2fff45ce1ebf884944ca.tar.xz
u-boot-ed1d98d801dfb6384d0f2fff45ce1ebf884944ca.zip
Merge branch 'u-boot/master' into 'u-boot-arm/master'
Diffstat (limited to 'board/keymile/common')
-rw-r--r--board/keymile/common/common.c2
-rw-r--r--board/keymile/common/ivm.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/board/keymile/common/common.c b/board/keymile/common/common.c
index f941e44e83..2ddb3da38f 100644
--- a/board/keymile/common/common.c
+++ b/board/keymile/common/common.c
@@ -12,7 +12,7 @@
#include <ioports.h>
#include <command.h>
#include <malloc.h>
-#include <hush.h>
+#include <cli_hush.h>
#include <net.h>
#include <netdev.h>
#include <asm/io.h>
diff --git a/board/keymile/common/ivm.c b/board/keymile/common/ivm.c
index f0e91bbdfe..b6b19ccb8e 100644
--- a/board/keymile/common/ivm.c
+++ b/board/keymile/common/ivm.c
@@ -6,7 +6,7 @@
*/
#include <common.h>
-#include <hush.h>
+#include <cli_hush.h>
#include <i2c.h>
#include "common.h"
@@ -120,7 +120,7 @@ static int ivm_findinventorystring(int type,
/* Look for the requested number of CR. */
while ((cr != nr) && (addr < INVENTORYDATASIZE)) {
- if ((buf[addr] == '\r'))
+ if (buf[addr] == '\r')
cr++;
addr++;
}