mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 01:38:22 +00:00
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>
This commit is contained in:
parent
8be429a5dd
commit
684623ce92
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ mpc8641_reset_board(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
/*
|
/*
|
||||||
* No args is a simple reset request.
|
* No args is a simple reset request.
|
||||||
*/
|
*/
|
||||||
if (argv <= 0) {
|
if (argc <= 1) {
|
||||||
out8(PIXIS_BASE + PIXIS_RST, 0);
|
out8(PIXIS_BASE + PIXIS_RST, 0);
|
||||||
/* not reached */
|
/* not reached */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue