Skip to contentSkip to conversation

why disable icache when erase syncflash in mx1ads

U-Boot-Users 齐尧 1 participant 1 message Sep 23, 2004

lore
Share & tools
lore

齐尧

author
#0 lore raw

just now,i get the latest u-boot ,it has supported mx1ads,but i can not understand the code as follows,in board/mx1ads/flash.c:
int flash+AF8-erase (flash+AF8-info+AF8-t +ACo- info, int first,int last)
+AHs-

    ...............
    icache+AF8-disable()+ADs-
    .............

+AH0-

I do nto know why disable the icache before erasing the Flash+ACE-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ??.vcf
Type: text+AC8-x-vcard
Size: 108 bytes
Desc: not available
Url : http:+AC8ALw-lists.denx.de+AC8-pipermail+AC8-u-boot+AC8-attachments+AC8-20040923+AC8-f396266e+AC8-attachment.vcf