summaryrefslogtreecommitdiff
path: root/cleopatre/u-boot-1.1.6/common
diff options
context:
space:
mode:
authordraskovic2009-05-11 15:32:49 +0000
committerdraskovic2009-05-11 15:32:49 +0000
commit97029ce10bac723f7e961855d3d18885da1bf225 (patch)
treec073e83848d488da2419f7feb91d8d4c3d8fb425 /cleopatre/u-boot-1.1.6/common
parent0bb5ba19fe049ba23cf38380cba2cec27fe650f8 (diff)
[CLEO][U-BOOT]Added cleanup_before_linux() to disable caches.
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@4624 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cleopatre/u-boot-1.1.6/common')
-rw-r--r--cleopatre/u-boot-1.1.6/common/cmd_spidboot.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cleopatre/u-boot-1.1.6/common/cmd_spidboot.c b/cleopatre/u-boot-1.1.6/common/cmd_spidboot.c
index 9be4d6a885..58a44cbb53 100644
--- a/cleopatre/u-boot-1.1.6/common/cmd_spidboot.c
+++ b/cleopatre/u-boot-1.1.6/common/cmd_spidboot.c
@@ -410,6 +410,9 @@ int do_spidboot (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
setenv("filesize", buf);
return 0;
}
+ /* disable D/I caches and flush them */
+ cleanup_before_linux ();
+ /* GO */
appl = (int (*)(int, char *[]))(hdr->load_addr) ;
(*appl)(argc-1, &argv[1]);
return 0;