[U-Boot] [PATCH 2/3] mpc85xx: Add a board-specific restart hook

Mike Frysinger vapier at gentoo.org
Wed Oct 19 05:20:37 CEST 2011


On Tuesday 18 October 2011 19:41:23 Kyle Moffett wrote:
> +int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
> +{
>  	unsigned long val, msr;
> 
> +	/* Allow boards to override the reset */
> +	int err = __board_restart();
> +	if (err)
> +		return err;

i thought we decided that do_reset() shouldn't return
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20111018/73969316/attachment.pgp 


More information about the U-Boot mailing list