aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/board/hale/tt01/lowlevel_init.S
diff options
context:
space:
mode:
authorfishsoupisgood <github@madingley.org>2019-04-29 01:17:54 +0100
committerfishsoupisgood <github@madingley.org>2019-05-27 03:43:43 +0100
commit3f2546b2ef55b661fd8dd69682b38992225e86f6 (patch)
tree65ca85f13617aee1dce474596800950f266a456c /roms/u-boot/board/hale/tt01/lowlevel_init.S
downloadqemu-master.tar.gz
qemu-master.tar.bz2
qemu-master.zip
Initial import of qemu-2.4.1HEADmaster
Diffstat (limited to 'roms/u-boot/board/hale/tt01/lowlevel_init.S')
-rw-r--r--roms/u-boot/board/hale/tt01/lowlevel_init.S16
1 files changed, 16 insertions, 0 deletions
diff --git a/roms/u-boot/board/hale/tt01/lowlevel_init.S b/roms/u-boot/board/hale/tt01/lowlevel_init.S
new file mode 100644
index 00000000..54132a18
--- /dev/null
+++ b/roms/u-boot/board/hale/tt01/lowlevel_init.S
@@ -0,0 +1,16 @@
+/*
+ * (C) Copyright 2009 Magnus Lilja <lilja.magnus@gmail.com>
+ * (C) Copyright 2011 Helmut Raiger <helmut.raiger@hale.at>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+#include <config.h>
+#include <asm/arch/imx-regs.h>
+#include <asm/macro.h>
+
+.globl lowlevel_init
+lowlevel_init:
+ /* Also setup the Peripheral Port Remap register inside the core */
+ ldr r0, =ARM_PPMRR /* start from AIPS 2GB region */
+ mcr p15, 0, r0, c15, c2, 4
+ mov pc, lr