summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/include/mach/zboot.h
diff options
context:
space:
mode:
authorUlrich Hecht <ulrich.hecht@gmail.com>2013-11-27 00:53:20 +0400
committerSimon Horman <horms+renesas@verge.net.au>2014-02-04 05:17:54 +0400
commita56585d12cbe8903dcc71332579b9e2e0807fe44 (patch)
tree126ecaa6335d2194fb3d69e510c6b35871257905 /arch/arm/mach-shmobile/include/mach/zboot.h
parentaefe88ba044bdcd91bc0cd1e75ab2dc524ed5107 (diff)
downloadlinux-a56585d12cbe8903dcc71332579b9e2e0807fe44.tar.xz
ARM: mach-shmobile: kzm9g: add zboot support
Adds support to run the kernel on the uninitialized KZM9G board, using for instance the mask ROM boot loader or JTAG. This patch tries to emulate the style of the corresponding "mackerel" implementation. The DRAM controller setup code has been adapted from u-boot. Signed-off-by: Ulrich Hecht <ulrich.hecht@gmail.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach/zboot.h')
-rw-r--r--arch/arm/mach-shmobile/include/mach/zboot.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/zboot.h b/arch/arm/mach-shmobile/include/mach/zboot.h
index c3c4669a2d72..727cc78ac8ec 100644
--- a/arch/arm/mach-shmobile/include/mach/zboot.h
+++ b/arch/arm/mach-shmobile/include/mach/zboot.h
@@ -12,6 +12,9 @@
#ifdef CONFIG_MACH_MACKEREL
#define MEMORY_START 0x40000000
#include "mach/head-mackerel.txt"
+#elif defined(CONFIG_MACH_KZM9G) || defined(CONFIG_MACH_KZM9G_REFERENCE)
+#define MEMORY_START 0x43000000
+#include "mach/head-kzm9g.txt"
#else
#error "unsupported board."
#endif