summaryrefslogtreecommitdiff
path: root/lib_microblaze/cache.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-07-10 23:48:41 +0000
committerwdenk <wdenk>2004-07-10 23:48:41 +0000
commit857cad37a41c431582a74be56f858ee0476cd0d9 (patch)
treead20b07944687e5996418e91111a6cef5b2e319e /lib_microblaze/cache.c
parentfabd46acff08edd9f945340338caa07bb0534e64 (diff)
Patches by Yasushi Shoji, 29 Jun 2004:
- add empty include/asm-microblaze/processor.h - add to CREDITS and MAINTAINERS - add gd initialization - add MicroBlaze and SUZAKU board to MAKEALL script - add reset support for SUZAKU - add flush_cache() for MicroBlaze - add CFG_FLASH_SIZE to include/configs/suzaku.h since we have fixed size flash memory on SUZAKU
Diffstat (limited to 'lib_microblaze/cache.c')
-rw-r--r--lib_microblaze/cache.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/lib_microblaze/cache.c b/lib_microblaze/cache.c
new file mode 100644
index 00000000000..a2f7493b61e
--- /dev/null
+++ b/lib_microblaze/cache.c
@@ -0,0 +1,31 @@
+/*
+ * (C) Copyright 2004 Atmark Techno, Inc.
+ *
+ * Yasushi SHOJI <yashi@atmark-techno.com>
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+
+#include <common.h>
+
+void flush_cache (ulong addr, ulong size)
+{
+ /* MicroBlaze have write thruough cache. nothing to do. */
+ return;
+}