2014-07-30 05:08:14 +00:00
|
|
|
menu "SuperH architecture"
|
|
|
|
depends on SH
|
|
|
|
|
sh: move CONFIG_{SH2, SH2A, SH3, SH4} to Kconfig
This commit moves CONFIG_SH2, CONFIG_SH2A, CONFIG_SH3, CONFIG_SH4
to Kconfig renaming into CONFIG_CPU_SH2, CONFIG_CPU_SH2A,
CONFIG_CPU_SH3, CONFIG_CPU_SH4, respectively because
arch/sh/Kconfig of Linux uses CONFIG_CPU_SH* convention.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2014-11-06 06:55:21 +00:00
|
|
|
config CPU_SH4
|
|
|
|
bool
|
|
|
|
|
2021-12-17 23:08:41 +00:00
|
|
|
config CPU_SH7751
|
|
|
|
bool
|
|
|
|
select CPU_SH4
|
|
|
|
|
2014-07-30 05:08:14 +00:00
|
|
|
choice
|
|
|
|
prompt "Target select"
|
2015-05-12 19:46:23 +00:00
|
|
|
optional
|
2014-07-30 05:08:14 +00:00
|
|
|
|
|
|
|
config TARGET_R2DPLUS
|
2014-11-06 06:55:20 +00:00
|
|
|
bool "Renesas R2D-PLUS"
|
2021-12-17 23:08:41 +00:00
|
|
|
select CPU_SH7751
|
2014-07-30 05:08:14 +00:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2014-11-06 06:55:22 +00:00
|
|
|
config SYS_ARCH
|
|
|
|
default "sh"
|
|
|
|
|
|
|
|
config SYS_CPU
|
|
|
|
default "sh4" if CPU_SH4
|
|
|
|
|
2017-08-04 22:34:47 +00:00
|
|
|
source "arch/sh/lib/Kconfig"
|
|
|
|
|
2014-07-30 05:08:14 +00:00
|
|
|
source "board/renesas/r2dplus/Kconfig"
|
|
|
|
|
|
|
|
endmenu
|