summaryrefslogtreecommitdiff
path: root/target/sh
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-01 18:11:35 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-01 18:11:35 +0200
commit0f96a0f56c74580d580b5d695499cf4df6bad520 (patch)
treecae485dc49b51c1734d2c915e245a21616c09a36 /target/sh
parent1bad8cf3c967cac8fb149217878b56f9cec03c8b (diff)
add support for glibc/eglibc qemu-sh systems
Diffstat (limited to 'target/sh')
-rw-r--r--target/sh/kernel.config14
-rw-r--r--target/sh/sys-available/qemu-sh4 (renamed from target/sh/sys-available/qemu-sh)4
2 files changed, 9 insertions, 9 deletions
diff --git a/target/sh/kernel.config b/target/sh/kernel.config
index 8767d7ecd..787edeb34 100644
--- a/target/sh/kernel.config
+++ b/target/sh/kernel.config
@@ -101,7 +101,7 @@ CONFIG_UIDGID_CONVERTED=y
# CONFIG_SYSFS_DEPRECATED is not set
# CONFIG_RELAY is not set
# CONFIG_BLK_DEV_INITRD is not set
-# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_SYSCTL=y
CONFIG_ANON_INODES=y
CONFIG_EXPERT=y
@@ -132,7 +132,7 @@ CONFIG_PERF_EVENTS=y
# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_PCI_QUIRKS=y
-CONFIG_COMPAT_BRK=y
+# CONFIG_COMPAT_BRK is not set
CONFIG_SLAB=y
# CONFIG_SLUB is not set
# CONFIG_SLOB is not set
@@ -278,7 +278,7 @@ CONFIG_ZONE_DMA_FLAG=0
CONFIG_NR_QUICK=1
# CONFIG_KSM is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
-CONFIG_CROSS_MEMORY_ATTACH=y
+# CONFIG_CROSS_MEMORY_ATTACH is not set
CONFIG_NEED_PER_CPU_KM=y
# CONFIG_CLEANCACHE is not set
@@ -350,11 +350,11 @@ CONFIG_SH_CLK_CPG_LEGACY=y
#
# Kernel features
#
-# CONFIG_HZ_100 is not set
-CONFIG_HZ_250=y
+CONFIG_HZ_100=y
+# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not set
-CONFIG_HZ=250
+CONFIG_HZ=100
# CONFIG_SCHED_HRTICK is not set
# CONFIG_KEXEC is not set
# CONFIG_CRASH_DUMP is not set
@@ -385,7 +385,7 @@ CONFIG_BOOT_LINK_OFFSET=0x00800000
CONFIG_ENTRY_OFFSET=0x00001000
CONFIG_CMDLINE_OVERWRITE=y
# CONFIG_CMDLINE_EXTEND is not set
-CONFIG_CMDLINE="console=ttySC1 console=tty0"
+CONFIG_CMDLINE="console=tty0"
#
# Bus options
diff --git a/target/sh/sys-available/qemu-sh b/target/sh/sys-available/qemu-sh4
index 4ea65fb3b..7932ffac6 100644
--- a/target/sh/sys-available/qemu-sh
+++ b/target/sh/sys-available/qemu-sh4
@@ -1,7 +1,7 @@
-config ADK_TARGET_SYSTEM_QEMU_SH
+config ADK_TARGET_SYSTEM_QEMU_SH4
bool "Qemu Emulator"
select ADK_sh
- select ADK_qemu_sh
+ select ADK_qemu_sh4
select ADK_CPU_SH4
select ADK_HARDWARE_QEMU
select ADK_TARGET_WITH_VGA