From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264876AbUEKQoa (ORCPT ); Tue, 11 May 2004 12:44:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264871AbUEKQni (ORCPT ); Tue, 11 May 2004 12:43:38 -0400 Received: from p060042.ppp.asahi-net.or.jp ([221.113.60.42]:9721 "EHLO mitou.ysato.dip.jp") by vger.kernel.org with ESMTP id S264835AbUEKQh3 (ORCPT ); Tue, 11 May 2004 12:37:29 -0400 Date: Wed, 12 May 2004 01:37:27 +0900 Message-ID: From: Yoshinori Sato To: Linus Torvalds Cc: linux kernel Mailing List Subject: [PATCH} H8/300 update (7/9) Kconfig User-Agent: Wanderlust/2.11.24 (Wonderwall) SEMI/1.14.6 (Maruoka) LIMIT/1.14.7 (Fujiidera) APEL/10.6 Emacs/21.3 (i386-pc-linux-gnu) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org - Separate taget depends config. -- Yoshinori Sato diff -Nru linux-2.6.6/arch/h8300/Kconfig linux-2.6.6-h8300/arch/h8300/Kconfig --- linux-2.6.6/arch/h8300/Kconfig 2004-05-11 14:30:44.000000000 +0900 +++ linux-2.6.6-h8300/arch/h8300/Kconfig 2004-04-10 02:27:22.000000000 +0900 @@ -43,122 +43,7 @@ source "init/Kconfig" -menu "Processor type and features" - -choice - prompt "H8/300 platform" - default H8300H_GENERIC - -config H8300H_GENERIC - bool "Generic" - help - H8/300H CPU Generic Hardware Support - -config H8300H_AKI3068NET - bool "AE-3068/69" - help - AKI-H8/3068F / AKI-H8/3069F Flashmicom LAN Board Support - More Information. (Japanese Only) - - AE-3068/69 Evaluation Board Support - More Information. - - -config H8300H_H8MAX - bool "H8MAX" - help - H8MAX Evaluation Board Support - More Information. (Japanese Only) - - -config H8300H_SIM - bool "H8/300H Simulator" - help - GDB Simulator Support - More Information. - arch/h8300/Doc/simulator.txt - -config H8S_EDOSK2674 - bool "EDOSK-2674" - help - Renesas EDOSK-2674 Evaluation Board Support - More Information. - - - -config H8S_SIM - bool "H8S Simulator" - help - GDB Simulator Support - More Information. - arch/h8300/Doc/simulator.txt - -endchoice - -choice - prompt "CPU Selection" - -config H83002 - bool "H8/3001,3002,3003" - depends on H8300H_GENERIC - -config H83007 - bool "H8/3006,3007" - depends on (H8300H_GENERIC || H8300H_SIM) - -config H83048 - bool "H8/3044,3045,3046,3047,3048,3052" - depends on H8300H_GENERIC - -config H83068 - bool "H8/3065,3066,3067,3068,3069" - depends on (H8300H_GENERIC || H8300H_AKI3068NET || H8300H_H8MAX) - -config H8S2678 - bool "H8S/2670,2673,2674R,2675,2676" - depends on (H8S_GENERIC || H8S_EDOSK2674 || H8S_SIM) - -endchoice - -config CPU_H8300H - bool - depends on (H8300H_GENERIC || H8300H_AKI3068NET || H8300H_H8MAX || H8300H_SIM) - default y - -config CPU_H8S - bool - depends on (H8S_GENERIC || H8S_EDOSK2674 || H8S_SIM) - default y - -config CPU_CLOCK - int "CPU Clock Frequency (/1KHz)" - default "20000" if H8300H_AKI3068NET - default "25000" if H8300H_H8MAX - default "16000" if H8300H_SIM - default "16000" if H8300H_GENERIC - default "33000" if H8S_GENERIC - default "33000" if H8S_SIM - default "33000" if H8S_EDOSK2674 - help - CPU Clock Frequency divide to 1000 -choice - prompt "Kernel executes from" - ---help--- - Choose the memory type that the kernel will be running in. - -config RAMKERNEL - bool "RAM" - help - The kernel will be resident in RAM when running. - -config ROMKERNEL - bool "ROM" - help - The kernel will be resident in FLASH/ROM when running. - -endchoice - -endmenu +source "arch/h8300/Kconfig.cpu" menu "Executable file formats" diff -Nru linux-2.6.6/arch/h8300/Kconfig.cpu linux-2.6.6-h8300/arch/h8300/Kconfig.cpu --- linux-2.6.6/arch/h8300/Kconfig.cpu 1970-01-01 09:00:00.000000000 +0900 +++ linux-2.6.6-h8300/arch/h8300/Kconfig.cpu 2004-05-11 21:04:14.000000000 +0900 @@ -0,0 +1,183 @@ +menu "Processor type and features" + +choice + prompt "H8/300 platform" + default H8300H_GENERIC + +config H8300H_GENERIC + bool "H8/300H Generic" + help + H8/300H CPU Generic Hardware Support + +config H8300H_AKI3068NET + bool "AE-3068/69" + help + AKI-H8/3068F / AKI-H8/3069F Flashmicom LAN Board Support + More Information. (Japanese Only) + + AE-3068/69 Evaluation Board Support + More Information. + + +config H8300H_H8MAX + bool "H8MAX" + help + H8MAX Evaluation Board Support + More Information. (Japanese Only) + + +config H8300H_SIM + bool "H8/300H Simulator" + help + GDB Simulator Support + More Information. + arch/h8300/Doc/simulator.txt + +config H8S_GENERIC + bool "H8S Generic" + help + H8S CPU Generic Hardware Support + +config H8S_EDOSK2674 + bool "EDOSK-2674" + help + Renesas EDOSK-2674 Evaluation Board Support + More Information. + + + +config H8S_SIM + bool "H8S Simulator" + help + GDB Simulator Support + More Information. + arch/h8300/Doc/simulator.txt + +endchoice + +if (H8300H_GENERIC || H8S_GENERIC) +menu "Detail Selection" +if (H8300H_GENERIC) +choice + prompt "CPU Selection" + +config H83002 + bool "H8/3001,3002,3003" + +config H83007 + bool "H8/3006,3007" + +config H83048 + bool "H8/3044,3045,3046,3047,3048,3052" + +config H83068 + bool "H8/3065,3066,3067,3068,3069" +endchoice +endif + +if (H8S_GENERIC) +choice + prompt "CPU Selection" + +config H8S2678 + bool "H8S/2670,2673,2674R,2675,2676" +endchoice +endif + +config CPU_CLOCK + int "CPU Clock Frequency (/1KHz)" + default "20000" + help + CPU Clock Frequency divide to 1000 +endmenu +endif + +if (H8300H_GENERIC || H8S_GENERIC || H8300H_SIM || H8S_SIM || H8S_EDOSK2674) +choice + prompt "Kernel executes from" + ---help--- + Choose the memory type that the kernel will be running in. + +config RAMKERNEL + bool "RAM" + help + The kernel will be resident in RAM when running. + +config ROMKERNEL + bool "ROM" + help + The kernel will be resident in FLASH/ROM when running. + +endchoice +endif + +if (H8300H_AKI3068NET) +config H83068 + bool + default y + +config CPU_CLOCK + int + default "20000" + +config RAMKERNEL + bool + default y +endif + +if (H8300H_H8MAX) +config H83068 + bool + default y + +config CPU_CLOCK + int + default 25000 + +config RAMKERNEL + bool + default y +endif + +if (H8300H_SIM) +config H83007 + bool + default y + +config CPU_CLOCK + int + default "16000" +endif + +if (H8S_EDOSK2674) +config H8S2678 + bool + default y +config CPU_CLOCK + int + default 33000 +endif + +if (H8S_SIM) +config H8S2678 + bool + default y +config CPU_CLOCK + int + default 33000 +endif + +config CPU_H8300H + bool + depends on (H8002 || H83007 || H83048 || H83068) + default y + +config CPU_H8S + bool + depends on H8S2678 + default y + +config PREEMPT + bool "Preemptible Kernel" + default n +endmenu