SPDX: Convert all of our single license tags to Linux Kernel style
[oweals/u-boot.git] / arch / arm / cpu / pxa / start.S
index 24b6ad187ae75aa377a5a7c1b75472dd51113579..575abac09c27cd4f920a662c95a66c867dfab60a 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  *  armboot - Startup Code for XScale CPU-core
  *
@@ -15,8 +16,6 @@
  *  Copyright (C) 2003 Robert Schwebel <r.schwebel@pengutronix.de>
  *  Copyright (C) 2004 Texas Instruments <r-woodruff2@ti.com>
  *  Copyright (C) 2010 Marek Vasut <marek.vasut@gmail.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <asm-offsets.h>
@@ -53,7 +52,15 @@ reset:
 #ifdef CONFIG_CPU_PXA25X
        bl      lock_cache_for_stack
 #endif
-
+#ifdef CONFIG_CPU_PXA27X
+       /*
+        * enable clock for SRAM
+        */
+       ldr     r0,=CKEN
+       ldr     r1,[r0]
+       orr     r1,r1,#(1 << 20)
+       str     r1,[r0]
+#endif
        bl      _main
 
 /*------------------------------------------------------------------------------*/