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
|
|
|
|
|
|
|
|
config CPU_SH4A
|
|
|
|
bool
|
|
|
|
select CPU_SH4
|
|
|
|
|
2014-11-14 03:52:47 +00:00
|
|
|
config SH_32BIT
|
|
|
|
bool "32bit mode"
|
|
|
|
depends on CPU_SH4A
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
SH4A has 2 physical memory maps. This use 32bit mode.
|
|
|
|
And this is board specific. Please check your board if you
|
|
|
|
want to use this.
|
|
|
|
|
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_MIGOR
|
2014-11-06 06:55:20 +00:00
|
|
|
bool "Migo-R"
|
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
|
|
|
select CPU_SH4
|
2014-07-30 05:08:14 +00:00
|
|
|
|
|
|
|
config TARGET_R2DPLUS
|
2014-11-06 06:55:20 +00:00
|
|
|
bool "Renesas R2D-PLUS"
|
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
|
|
|
select CPU_SH4
|
2014-07-30 05:08:14 +00:00
|
|
|
|
|
|
|
config TARGET_R7780MP
|
2014-11-06 06:55:20 +00:00
|
|
|
bool "R7780MP board"
|
2014-11-06 06:55:23 +00:00
|
|
|
select CPU_SH4A
|
2014-07-30 05:08:14 +00:00
|
|
|
|
|
|
|
config TARGET_SH7752EVB
|
2014-11-06 06:55:20 +00:00
|
|
|
bool "SH7752EVB"
|
2014-11-06 06:55:23 +00:00
|
|
|
select CPU_SH4A
|
2014-07-30 05:08:14 +00:00
|
|
|
|
|
|
|
config TARGET_SH7753EVB
|
2014-11-06 06:55:20 +00:00
|
|
|
bool "SH7753EVB"
|
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
|
|
|
select CPU_SH4
|
2014-07-30 05:08:14 +00:00
|
|
|
|
|
|
|
config TARGET_SH7757LCR
|
2014-11-06 06:55:20 +00:00
|
|
|
bool "SH7757LCR"
|
2014-11-06 06:55:23 +00:00
|
|
|
select CPU_SH4A
|
2014-07-30 05:08:14 +00:00
|
|
|
|
|
|
|
config TARGET_SH7763RDP
|
2014-11-06 06:55:20 +00:00
|
|
|
bool "SH7763RDP"
|
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
|
|
|
select CPU_SH4
|
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/MigoR/Kconfig"
|
|
|
|
source "board/renesas/r2dplus/Kconfig"
|
|
|
|
source "board/renesas/r7780mp/Kconfig"
|
|
|
|
source "board/renesas/sh7752evb/Kconfig"
|
|
|
|
source "board/renesas/sh7753evb/Kconfig"
|
|
|
|
source "board/renesas/sh7757lcr/Kconfig"
|
|
|
|
source "board/renesas/sh7763rdp/Kconfig"
|
|
|
|
|
|
|
|
endmenu
|