[U-Boot] [PATCH v2] bootvx: Clear and disable data cache, and call vxWorks with parameter.

Wolfgang Denk wd at denx.de
Sun Mar 18 20:14:28 CET 2012


Dear Reinhard Arlt,

In message <4EC6ACCC.5070709 at esd.eu> you wrote:
> From: Reinhard Arlt <reinhard.arlt at esd.eu>
> 
> This patch clear and disable the data cache for vxWorks.
> 
> The entry point sysInit(int) intended by Windriver to be called from
> the vxWorks bootrom, a very small vxWorks system.
> The routine is called by the go() handler in the bootrom, that clears
> the cache from start of image to end of usable memory.
> 
> The PowerPC implementations only invalidates and disable the cache,
> the ARM implementations also flush it.
>   
> U-Boot will be on the save side, if it disables the data cache before
> calling vxWorks sysInit(int).
> 
> Signed-off-by: Reinhard Arlt <reinhard.arlt at esd.eu>

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
 The software required `Windows 95 or better', so I installed Linux.


More information about the U-Boot mailing list