]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
bootvx: Clear and disable data cache, and call vxWorks with parameter.
authorReinhard Arlt <reinhard.arlt@esd.eu>
Fri, 18 Nov 2011 09:06:52 +0000 (09:06 +0000)
committerWolfgang Denk <wd@denx.de>
Sun, 18 Mar 2012 19:14:05 +0000 (20:14 +0100)
commit6eee21daf3d1cabad8a4dfaf6641d8845ee7578a
tree408e417f7ece9263c5821ca1d292b5b7572542cb
parentf6add132f6d7f45eb7d4b3839513c38bfb28eb08
bootvx: Clear and disable data cache, and call vxWorks with parameter.

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 safe side, if it disables the data cache before
calling vxWorks sysInit(int).

Signed-off-by: Reinhard Arlt <reinhard.arlt@esd.eu>
common/cmd_elf.c