diff options
author | Jon Loeliger <jdl@freescale.com> | 2006-06-22 08:51:46 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2006-06-22 08:51:46 -0500 |
commit | 684623ce92c5fd32e7db2d6e016945a67c5ffaba (patch) | |
tree | 6965c5e262934169aa9d9d641e1ace151cb32626 /board/mpc8641hpcn/mpc8641hpcn.c | |
parent | 8be429a5ddbf0ebe2d94174ba58fcfc7a24285dc (diff) | |
download | talos-obmc-uboot-684623ce92c5fd32e7db2d6e016945a67c5ffaba.tar.gz talos-obmc-uboot-684623ce92c5fd32e7db2d6e016945a67c5ffaba.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/mpc8641hpcn/mpc8641hpcn.c b/board/mpc8641hpcn/mpc8641hpcn.c index c6b2a5b3bf..2626cccb93 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 */ } |