summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/arm926ejs/aspeed/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/cpu/arm926ejs/aspeed/cpu.c')
-rw-r--r--arch/arm/cpu/arm926ejs/aspeed/cpu.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/cpu/arm926ejs/aspeed/cpu.c b/arch/arm/cpu/arm926ejs/aspeed/cpu.c
new file mode 100644
index 0000000000..488d540ba9
--- /dev/null
+++ b/arch/arm/cpu/arm926ejs/aspeed/cpu.c
@@ -0,0 +1,23 @@
+/*
+ * 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>
+#include <asm/io.h>
+
+void enable_caches(void)
+{
+ icache_enable();
+ //TODO .....
+ dcache_enable();
+
+}
+
OpenPOWER on IntegriCloud