commit | 684623ce92c5fd32e7db2d6e016945a67c5ffaba | [log] [tgz] |
---|---|---|
author | Jon Loeliger <jdl@freescale.com> | Thu Jun 22 08:51:46 2006 -0500 |
committer | Jon Loeliger <jdl@freescale.com> | Thu Jun 22 08:51:46 2006 -0500 |
tree | 6965c5e262934169aa9d9d641e1ace151cb32626 | |
parent | 8be429a5ddbf0ebe2d94174ba58fcfc7a24285dc [diff] [blame] |
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>
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 @@ /* * No args is a simple reset request. */ - if (argv <= 0) { + if (argc <= 1) { out8(PIXIS_BASE + PIXIS_RST, 0); /* not reached */ }