diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-04-17 21:23:10 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-04-17 21:23:10 +0000 |
commit | 0ccb665b155f21e1a6cd5267a27123440a5d49e5 (patch) | |
tree | 8ebe6c91089bb929a82677442351231c1c83e286 /nuttx/arch/sh | |
parent | 706fd821de630445b60991ea15399d1e0d50903b (diff) |
More Kconfig
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4625 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/arch/sh')
-rw-r--r-- | nuttx/arch/sh/Kconfig | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/nuttx/arch/sh/Kconfig b/nuttx/arch/sh/Kconfig index ae2bf31307..8735dc2387 100644 --- a/nuttx/arch/sh/Kconfig +++ b/nuttx/arch/sh/Kconfig @@ -2,3 +2,35 @@ # For a description of the syntax of this configuration file, # see misc/tools/kconfig-language.txt. # + +if ARCH_SH +choice + prompt "SH chip selection" + default ARCH_CHIP_SH7032 + +config ARCH_CHIP_SH7032 + bool "SH7032" + ---help--- + Hitachi/Renesas SH7032 (SH1) + +config ARCH_CHIP_M30262F8 + bool "M30262F8" + ---help--- + Renesas M30262F8 (M16C) + +endchoice + +config ARCH_SH1 + bool + default y if ARCH_CHIP_SH7032 + +config ARCH_M16C + bool + default y if ARCH_CHIP_M30262F8 + +config ARCH_CHIP + string + default "sh1" if ARCH_SH1 + default "m16c" if ARCH_M16C + +endif |