summaryrefslogtreecommitdiff
path: root/board/mpc8641hpcn/mpc8641hpcn.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2006-06-22 08:51:46 -0500
committerJon Loeliger <jdl@freescale.com>2006-06-22 08:51:46 -0500
commit684623ce92c5fd32e7db2d6e016945a67c5ffaba (patch)
tree6965c5e262934169aa9d9d641e1ace151cb32626 /board/mpc8641hpcn/mpc8641hpcn.c
parent8be429a5ddbf0ebe2d94174ba58fcfc7a24285dc (diff)
downloadu-boot-imx-684623ce92c5fd32e7db2d6e016945a67c5ffaba.zip
u-boot-imx-684623ce92c5fd32e7db2d6e016945a67c5ffaba.tar.gz
u-boot-imx-684623ce92c5fd32e7db2d6e016945a67c5ffaba.tar.bz2
Fix bug in 8641hpcn reset command with no args.
Signed-off-by: Haiying Wang <haiying.wang@freescale.com> Acked-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'board/mpc8641hpcn/mpc8641hpcn.c')
-rw-r--r--board/mpc8641hpcn/mpc8641hpcn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/mpc8641hpcn/mpc8641hpcn.c b/board/mpc8641hpcn/mpc8641hpcn.c
index c6b2a5b..2626ccc 100644
--- a/board/mpc8641hpcn/mpc8641hpcn.c
+++ b/board/mpc8641hpcn/mpc8641hpcn.c
@@ -269,7 +269,7 @@ mpc8641_reset_board(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
/*
* No args is a simple reset request.
*/
- if (argv <= 0) {
+ if (argc <= 1) {
out8(PIXIS_BASE + PIXIS_RST, 0);
/* not reached */
}