OSDN Git Service

Clock frequency fix
authorYoshinori Sato <ysato@users.sourceforge.jp>
Sat, 10 Jan 2015 09:40:02 +0000 (18:40 +0900)
committerYoshinori Sato <ysato@users.sourceforge.jp>
Sat, 10 Jan 2015 09:40:02 +0000 (18:40 +0900)
arch/h8300/configs/h8300h-sim_defconfig
arch/h8300/configs/h8s-sim_defconfig
arch/h8300/kernel/cpu/h83069/setup.c
arch/h8300/kernel/cpu/h8s2678/setup.c

index 43aa5de..c14289d 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# Linux/h8300 3.19.0-rc2 Kernel Configuration
+# Linux/h8300 3.19.0-rc3 Kernel Configuration
 #
 CONFIG_H8300=y
 # CONFIG_MMU is not set
@@ -117,6 +117,7 @@ CONFIG_SLOB=y
 # CONFIG_PROFILING is not set
 # CONFIG_UPROBES is not set
 # CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
+CONFIG_HAVE_CLK=y
 CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
 # CONFIG_CC_STACKPROTECTOR is not set
 CONFIG_MODULES_USE_ELF_RELA=y
@@ -147,7 +148,7 @@ CONFIG_H8300H_SIM=y
 # CONFIG_H8S_SIM is not set
 CONFIG_H83069=y
 # CONFIG_H8S2678 is not set
-CONFIG_CPU_CLOCK=200000000
+CONFIG_CPU_CLOCK=20000000
 # CONFIG_RAMKERNEL is not set
 CONFIG_ROMKERNEL=y
 CONFIG_CPU_H8300H=y
@@ -390,6 +391,7 @@ CONFIG_USB_OHCI_LITTLE_ENDIAN=y
 # SOC (System On Chip) specific Drivers
 #
 # CONFIG_SOC_TI is not set
+CONFIG_CLKDEV_LOOKUP=y
 
 #
 # Hardware Spinlock drivers
index 6843a67..9712945 100644 (file)
@@ -147,7 +147,7 @@ CONFIG_INLINE_WRITE_UNLOCK_IRQ=y
 CONFIG_H8S_SIM=y
 # CONFIG_H83069 is not set
 CONFIG_H8S2678=y
-CONFIG_CPU_CLOCK=333333333
+CONFIG_CPU_CLOCK=33333333
 # CONFIG_RAMKERNEL is not set
 CONFIG_ROMKERNEL=y
 CONFIG_CPU_H8S=y
index 28b367b..9a30442 100644 (file)
@@ -65,7 +65,7 @@ static struct platform_device sci1_device = {
 
 static struct h8300_timer8_config tm8_unit0_platform_data = {
        .mode   = H8300_TMR8_CLKEVTDEV,
-       .div    = H8300_TMR8_DIV_64,
+       .div    = H8300_TMR8_DIV_8,
        .rating = 200,
 };
 
@@ -87,7 +87,7 @@ static struct platform_device timer8_unit0_device = {
 
 static struct h8300_timer8_config tm8_unit1_platform_data = {
        .mode   = H8300_TMR8_CLKSRC,
-       .div    = H8300_TMR8_DIV_64,
+       .div    = H8300_TMR8_DIV_8,
        .rating = 200,
 };
 
index d008e29..8eee3b5 100644 (file)
@@ -87,7 +87,7 @@ static struct platform_device sci2_device = {
 
 static struct h8300_timer8_config timer8_platform_data = {
        .mode   = H8300_TMR8_CLKEVTDEV,
-       .div    = H8300_TMR8_DIV_64,
+       .div    = H8300_TMR8_DIV_8,
        .rating = 200,
 };