diff options
| author | Jon Loeliger <[email protected]> | 2006-06-22 08:51:46 -0500 |
|---|---|---|
| committer | Jon Loeliger <[email protected]> | 2006-06-22 08:51:46 -0500 |
| commit | 684623ce92c5fd32e7db2d6e016945a67c5ffaba (patch) | |
| tree | 6965c5e262934169aa9d9d641e1ace151cb32626 | |
| parent | 8be429a5ddbf0ebe2d94174ba58fcfc7a24285dc (diff) | |
Fix bug in 8641hpcn reset command with no args.
Signed-off-by: Haiying Wang <[email protected]>
Acked-by: Jon Loeliger <[email protected]>
| -rw-r--r-- | board/mpc8641hpcn/mpc8641hpcn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/mpc8641hpcn/mpc8641hpcn.c b/board/mpc8641hpcn/mpc8641hpcn.c index c6b2a5b3bf9..2626cccb93c 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 */ } |
