summaryrefslogtreecommitdiff
path: root/board/woodburn/lowlevel_init.S
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2012-10-10 21:11:46 +0000
committerStefano Babic <sbabic@denx.de>2012-10-26 16:27:59 +0200
commitd81b27a24507c578764270865606ee6a91036616 (patch)
tree2e9c9d135e4146fc15c182a31f2a293b4c30542b /board/woodburn/lowlevel_init.S
parenta3cbc3969d665b9764c99d17e7975331590d72d9 (diff)
downloadu-boot-imx-d81b27a24507c578764270865606ee6a91036616.zip
u-boot-imx-d81b27a24507c578764270865606ee6a91036616.tar.gz
u-boot-imx-d81b27a24507c578764270865606ee6a91036616.tar.bz2
MX35: add support for woodburn board
The woodburn board is based on the MX35 SOC. Support for both external (NOR) and internal (SD Card) boot mode are added. It uses the generic SPL framework to implement the internal boot mode. The following peripherals are supported: - Ethernet (FEC) - SD Card - NAND (512 MB) - NOR Flash In the internal boot mode, a simple imximage header is generated to set the address in internal RAM where the SOC must copy the SPL code. The initial setup is then demanded to the SPL itself. Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'board/woodburn/lowlevel_init.S')
-rw-r--r--board/woodburn/lowlevel_init.S38
1 files changed, 38 insertions, 0 deletions
diff --git a/board/woodburn/lowlevel_init.S b/board/woodburn/lowlevel_init.S
new file mode 100644
index 0000000..57fb1b1
--- /dev/null
+++ b/board/woodburn/lowlevel_init.S
@@ -0,0 +1,38 @@
+/*
+ * Copyright (C) 2007, Guennadi Liakhovetski <lg@denx.de>
+ *
+ * (C) Copyright 2008-2010 Freescale Semiconductor, Inc.
+ *
+ * Copyright (C) 2011, Stefano Babic <sbabic@denx.de>
+ *
+ * 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 <asm/arch/lowlevel_macro.S>
+
+.globl lowlevel_init
+lowlevel_init:
+
+ core_init
+
+ init_aips
+
+ init_max
+
+ init_m3if
+
+ mov pc, lr