Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Unified Diff: board/chromeos_st15/platform.S

Issue 1329001: ST1.5 board support and some ST1.0/1.5 common changes. (Closed)
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « board/chromeos_st15/memory_map.c ('k') | board/chromeos_st15/u-boot.lds » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: board/chromeos_st15/platform.S
diff --git a/board/chromeos_st15/platform.S b/board/chromeos_st15/platform.S
new file mode 100644
index 0000000000000000000000000000000000000000..6a97228059ad57e37777c135f2df2dee6c67eff0
--- /dev/null
+++ b/board/chromeos_st15/platform.S
@@ -0,0 +1,45 @@
+/*
+ * Board specific setup info
+ *
+ * Copyright (c) 2009, Code Aurora Forum. All rights reserved.
+ *
+ * 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 <config.h>
+#include <version.h>
+#include <asm-armv7Scorpion/armv7Scorpion.h>
+
+platform_save_lr:
+ .word 0x0
+
+.globl platformsetup
+platformsetup:
+
+ str lr, platform_save_lr
+
+ /*
+ * Before turning on caches, call function to set up
+ * cache timing parameters.
+ */
+ bl set_cache_timing_parameters
+
+ ldr lr, platform_save_lr
+
+ mov pc, lr
« no previous file with comments | « board/chromeos_st15/memory_map.c ('k') | board/chromeos_st15/u-boot.lds » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698