summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/include/mach/zboot.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2010-12-01 07:40:16 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-12-05 08:40:21 +0000
commit3d09fbcd26851ffb2c40cec411b8e56db02520d1 (patch)
tree7db94c53713c2cb6254c78a3edad23e5ff2fe559 /arch/arm/mach-shmobile/include/mach/zboot.h
parent9a4af112bd252be801a433fc3bef793b7b487c3c (diff)
ARM: 6514/1: mach-shmobile: Add zboot support for SuperH Mobile ARM
When CONFIG_ZBOOT_ROM is selected, the resulting zImage file will be small boot loader and may be burned to rom or flash. This is the board-specific portion of this patch-set. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms@verge.net.au> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach/zboot.h')
-rw-r--r--arch/arm/mach-shmobile/include/mach/zboot.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/zboot.h b/arch/arm/mach-shmobile/include/mach/zboot.h
index e0c218fde68..3ad86b7708e 100644
--- a/arch/arm/mach-shmobile/include/mach/zboot.h
+++ b/arch/arm/mach-shmobile/include/mach/zboot.h
@@ -1,12 +1,20 @@
#ifndef ZBOOT_H
#define ZBOOT_H
+#include <asm/mach-types.h>
+#include <mach/zboot_macros.h>
+
/**************************************************
*
* board specific settings
*
**************************************************/
+#ifdef CONFIG_MACH_AP4EVB
+#define MACH_TYPE MACH_TYPE_AP4EVB
+#include "mach/head-ap4evb.txt"
+#else
#error "unsupported board."
+#endif
#endif /* ZBOOT_H */