Skip to content
Snippets Groups Projects
Commit 570dd7f4 authored by Nobuhiro Iwamatsu's avatar Nobuhiro Iwamatsu
Browse files

sh: Move SH_32BIT to Kconfig


This moves SH_32BIT to Kconfig, and removes SH_32BIT from config
files.

Signed-off-by: default avatarNobuhiro Iwamatsu <iwamatsu@nigauri.org>
parent f97eeba4
No related branches found
No related tags found
No related merge requests found
...@@ -18,6 +18,15 @@ config CPU_SH4A ...@@ -18,6 +18,15 @@ config CPU_SH4A
bool bool
select CPU_SH4 select CPU_SH4
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.
choice choice
prompt "Target select" prompt "Target select"
......
CONFIG_SH=y CONFIG_SH=y
CONFIG_SH_32BIT=y
CONFIG_TARGET_SH7752EVB=y CONFIG_TARGET_SH7752EVB=y
CONFIG_SH=y CONFIG_SH=y
CONFIG_SH_32BIT=y
CONFIG_TARGET_SH7753EVB=y CONFIG_TARGET_SH7753EVB=y
CONFIG_SH=y CONFIG_SH=y
CONFIG_SH_32BIT=y
CONFIG_TARGET_SH7757LCR=y CONFIG_TARGET_SH7757LCR=y
CONFIG_SYS_EXTRA_OPTIONS="SH_32BIT=1"
CONFIG_SH=y CONFIG_SH=y
CONFIG_SH_32BIT=y
CONFIG_TARGET_SH7785LCR=y CONFIG_TARGET_SH7785LCR=y
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
#define __SH7752EVB_H #define __SH7752EVB_H
#undef DEBUG #undef DEBUG
#define CONFIG_SH_32BIT 1
#define CONFIG_CPU_SH7752 1 #define CONFIG_CPU_SH7752 1
#define CONFIG_SH7752EVB 1 #define CONFIG_SH7752EVB 1
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
#define __SH7753EVB_H #define __SH7753EVB_H
#undef DEBUG #undef DEBUG
#define CONFIG_SH_32BIT 1
#define CONFIG_CPU_SH7753 1 #define CONFIG_CPU_SH7753 1
#define CONFIG_SH7753EVB 1 #define CONFIG_SH7753EVB 1
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
#define __SH7757LCR_H #define __SH7757LCR_H
#undef DEBUG #undef DEBUG
#define CONFIG_SH_32BIT 1
#define CONFIG_CPU_SH7757 1 #define CONFIG_CPU_SH7757 1
#define CONFIG_SH7757LCR 1 #define CONFIG_SH7757LCR 1
#define CONFIG_SH7757LCR_DDR_ECC 1 #define CONFIG_SH7757LCR_DDR_ECC 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment