diff options
Diffstat (limited to 'conf/machine')
-rw-r--r-- | conf/machine/include/tune-sh4.inc | 4 | ||||
-rw-r--r-- | conf/machine/include/tune-sh4a.inc | 9 | ||||
-rw-r--r-- | conf/machine/sh7785lcr.conf | 20 |
3 files changed, 33 insertions, 0 deletions
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" |