Skip to contentSkip to conversation

enabling d-cache in OSK 5912 OSK

U-Boot-Users Ram 3 participants 3 messages Feb 9, 2006 – Feb 10, 2006

lore
Share & tools
lore

Ram

author
#0 lore raw

Hi,
I am using OMAP 5912 OSK.

I am implementing a command which has lots writes to and reads from memory.

I want to enable the D cache in u-boot.

how do i do it in u-boot.

please advice.

regards,
sriram

#1 lore raw

Hi,

Quoted 6 lines

I am implementing a command which has lots writes to and reads from memory.

I want to enable the D cache in u-boot.

how do i do it in u-boot.

how about issuing mcr inst in board/omap5912osk/lowlevel_init.S ?

Best Regards,

HK.
--

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

I want to enable the D cache in u-boot.

Use dcache_enable(). Implement it if needed.

Quoted 1 line

how about issuing mcr inst in board/omap5912osk/lowlevel_init.S ?

No. There is a standard way to do this (using ?cache_enable()), and this should be used here, too.

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
When all is said and done, more is said than done.