On Tue, Nov 10, 2015 at 01:13:17PM +0100, [email protected] wrote:

> From: Aurelien Jacquiot <[email protected]>
> 
> This new memory command allows to wait a given value in memory.
> It can be useful when U-Boot is used in a slave mode (another device
> is pushing images to the local memory) such as RapidIO or any
> RDMA kind of transport. We can then be notified that images have been
> loaded to our memory before booting.
> 
> Usage is: mwait[.b, .w, .l, .q] address value

First, we need to add a new CONFIG_CMD_MWAIT (and Kconfig entry) for
this.  Second:

> +             WATCHDOG_RESET();
> +             udelay(1000);

Lets use 100 here not 1000, after looking at how long we wait during
'sleep' which is this an equivalent of.  Thanks!

-- 
Tom

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to