
4 Jan
2016
4 Jan
'16
4:50 p.m.
On Tue, Nov 10, 2015 at 01:13:17PM +0100, jacquiot.aurelien@gmail.com wrote:
From: Aurelien Jacquiot a-jacquiot@ti.com
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