summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/gk802/lowlevel.c
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2013-07-03 21:08:31 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-07-11 09:53:11 +0200
commitd427ee38fbb78654c20a2c46267fc8532dc41eaf (patch)
treea6e94ec9218d7519bef029750d315f27d50b8553 /arch/arm/boards/gk802/lowlevel.c
parenta884920c516a3eab0c414b3ac878a55eaa3bb2df (diff)
downloadbarebox-d427ee38fbb78654c20a2c46267fc8532dc41eaf.tar.gz
barebox-d427ee38fbb78654c20a2c46267fc8532dc41eaf.tar.xz
ARM: gk802: Add support for Zealz GK802
Add support for the GK802 'QUAD CORE Mini PC', which seems to be loosely based on the Freescale i.MX6Q HDMI dongle reference design. It is supposedly identical to the Hiapad Hi802. Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/gk802/lowlevel.c')
-rw-r--r--arch/arm/boards/gk802/lowlevel.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/boards/gk802/lowlevel.c b/arch/arm/boards/gk802/lowlevel.c
new file mode 100644
index 000000000..95b218d2d
--- /dev/null
+++ b/arch/arm/boards/gk802/lowlevel.c
@@ -0,0 +1,18 @@
+#include <common.h>
+#include <sizes.h>
+#include <asm/barebox-arm-head.h>
+#include <asm/barebox-arm.h>
+
+extern char __dtb_imx6q_gk802_start[];
+
+ENTRY_FUNCTION(start_imx6_gk802)(void)
+{
+ uint32_t fdt;
+
+ __barebox_arm_head();
+
+ arm_cpu_lowlevel_init();
+
+ fdt = (uint32_t)__dtb_imx6q_gk802_start - get_runtime_offset();
+ barebox_arm_entry(0x10000000, SZ_1G, fdt);
+}