Skip to contentSkip to conversation

mips incaip icache and dcache

U-Boot-Users vinaygn 2 participants 2 messages Dec 8, 2004

lore
Share & tools
lore

vinaygn

author
#0 lore raw

Hi,
I enabled cache command by removing CFG_CMD_CACHE from #define
CFG_CMD_NONSTD macro.
When i compile i get linker errors for missing functions:
icache_disable, icache_enable, icache_status, and dcache_enable.

Any code patches for the above for MIPS.
Regards,
Vinay

#1 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

I enabled cache command by removing CFG_CMD_CACHE from #define
CFG_CMD_NONSTD macro.

No, you did not enable the "cache" command as this is not implemented on this platform.

Quoted 2 lines

When i compile i get linker errors for missing functions:
icache_disable, icache_enable, icache_status, and dcache_enable.

Of course.

Quoted 1 line

Any code patches for the above for MIPS.

Fee free to submit them.

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The only perfect science is hind-sight.