2007-11-21 00:53:37 -07:00
|
|
|
int cache_control(unsigned int command)
|
|
|
|
{
|
|
|
|
volatile unsigned int *p = (volatile unsigned int *) 0x80000000;
|
|
|
|
int i;
|
|
|
|
|
|
|
|
for (i = 0; i < (32 * 1024); i += 32) {
|
|
|
|
(void)*p;
|
2010-02-27 09:51:36 -07:00
|
|
|
p += (32 / sizeof(int));
|
2007-11-21 00:53:37 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|