[U-Boot-Users] Why should disable i+AF8-cache when erase SyncFlash on mx1ads

just now,i get the latest u-boot ,it has supported mx1ads,but i can not the code as follows,in board/mx1ads/flash.c: int flash_erase (flash_info_t *info, int s_first, int s_last) { int iflag, cflag, prot, sect; int rc = ERR_OK; .................... ...................... cflag = icache_status(); icache_disable(); .................. } i do not know why disable the icache when erasing the flash!

In message 295857225.11752@eyou.net 000701c4a0a3$00fa65e0$0c00a8c0@bird you wrote:
just now,i get the latest u-boot ,it has supported mx1ads,but i can not the code as follows,in board/mx1ads/flash.c: int flash+AF8-erase (flash+AF8-info+AF8-t +ACo-info, int s+AF8-first, int s+AF8-last) +AHs- int iflag, cflag, prot, sect+ADs- int rc +AD0- ERR+AF8-OK+ADs-
This is unreadable. Please fix your mailer setup.
------=_NextPart_000_0005_01C4A0E6.0E0A8830 Content-Type: text/x-vcard; name="=?utf-7?B?K24xQmNKdy0udmNm?=" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="=?utf-7?B?K24xQmNKdy0udmNm?="
BEGIN:VCARD
And PLEASE disable this crap!!!
Best regards,
Wolfgang Denk
participants (2)
-
Wolfgang Denk
-
齐尧