summaryrefslogtreecommitdiffstats
path: root/arch/mips/lib/boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/lib/boot.c')
-rw-r--r--arch/mips/lib/boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/lib/boot.c b/arch/mips/lib/boot.c
index db862f6379..6ef9109022 100644
--- a/arch/mips/lib/boot.c
+++ b/arch/mips/lib/boot.c
@@ -17,7 +17,7 @@ unsigned long do_go_exec(ulong (*entry)(int, char * const []),
* whole SDRAM area, since we don't know the size of the image
* that was loaded.
*/
- flush_cache(gd->bd->bi_memstart, gd->ram_top - gd->bd->bi_memstart);
+ flush_cache(gd->ram_base, gd->ram_top - gd->ram_base);
return entry(argc, argv);
}