From 39cf877a8a5b0291475aa5df5a1dd42f051c8866 Mon Sep 17 00:00:00 2001 From: Nobuhiro Iwamatsu Date: Sun, 26 Sep 2010 14:21:10 +0000 Subject: machine/sh7785lcr: Add new machine for Renesas SH7785 reference board * Machine config for Renesas SH7785 reference board. * Add kernel config for 2.6.32 and 35. * Add tune file for sh4a. Signed-off-by: Nobuhiro Iwamatsu Signed-off-by: Khem Raj --- conf/machine/include/tune-sh4.inc | 4 ++++ conf/machine/include/tune-sh4a.inc | 9 +++++++++ conf/machine/sh7785lcr.conf | 20 ++++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 conf/machine/include/tune-sh4a.inc create mode 100644 conf/machine/sh7785lcr.conf (limited to 'conf/machine') diff --git a/conf/machine/include/tune-sh4.inc b/conf/machine/include/tune-sh4.inc index 5d43e4195e..51b40691bc 100644 --- a/conf/machine/include/tune-sh4.inc +++ b/conf/machine/include/tune-sh4.inc @@ -1,3 +1,7 @@ +# NOTE: If you want to optimize to sh4a, conf/machine/include/tune-sh4a.inc. +# But it is not compatible for sh4. +# The binary optimized by m4a doesn't operate on sh4. It works on sh4a only. + TARGET_CC_ARCH = "-ml -m4" FEED_ARCH = "sh4" BASE_PACKAGE_ARCH = "sh4" diff --git a/conf/machine/include/tune-sh4a.inc b/conf/machine/include/tune-sh4a.inc new file mode 100644 index 0000000000..3866d6f127 --- /dev/null +++ b/conf/machine/include/tune-sh4a.inc @@ -0,0 +1,9 @@ +# NOTE: This file provides the option for m4a(sh4a). +# It is not compatible in m4a and m4(sh4). +# The binary optimized by m4a doesn't operate on sh4. It works on sh4a only. +# If you want to use binary that work on sh4 and sh4a, you should use +# "conf/machine/include/tune-sh4.inc". + +TARGET_CC_ARCH = "-ml -m4a" +FEED_ARCH = "sh4" +BASE_PACKAGE_ARCH = "sh4" diff --git a/conf/machine/sh7785lcr.conf b/conf/machine/sh7785lcr.conf new file mode 100644 index 0000000000..347ac1eb50 --- /dev/null +++ b/conf/machine/sh7785lcr.conf @@ -0,0 +1,20 @@ +#@TYPE: Machine +#@NAME: sh7785lcr board setup +#@DESCRIPTION: Machine configuration for Renesas sh7785lcr(SH7785) board + +TARGET_ARCH = "sh4" + +require conf/machine/include/tune-sh4.inc + +KERNEL_IMAGETYPE = "uImage" + +SERIAL_CONSOLE = "115200 ttySC1" + +PREFERRED_PROVIDER_virtual/kernel = "linux" +MACHINE_FEATURES = "kernel26 ext2 vfat ethernet" +MACHINE_EXTRA_RRECOMMENDS = "kernel-modules" + +UBOOT_ARCH = "sh" +UBOOT_MACHINE = "sh7785lcr_32bit_config" +UBOOT_LOADADDRESS ?= "0x80001000" +UBOOT_ENTRYPOINT ?= "0x80002000" -- cgit 1.2.3-korg