diff options
author | Hirokazu Takata <takata@linux-m32r.org> | 2006-01-06 03:18:41 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:33:43 -0500 |
commit | 9287d95ea194abf32fab24c6909f8ea55ab0292f (patch) | |
tree | 4c00a6866d1da4fac5b5ca3bdb86eb2170a3fbf4 /arch/m32r/Kconfig | |
parent | 60c83c77c4a6a399d55e4f9ad156bccdfe51c96b (diff) |
[PATCH] m32r: Support M32104UT target platform
This patch is for supporting a new target platform, Renesas M32104UT
evaluation board.
The M32104UT is an eval board based on an uT-Engine specification. This board
has an MMU-less M32R family processor, M32104.
http://www-wa0.personal-media.co.jp/pmc/archive/te/te_m32104_e.pdf
This board is one of the most popular M32R platform, so we have ported
Linux/M32R to it.
Signed-off-by: Naoto Sugai <Sugai.Naoto@ak.MitsubishiElectric.co.jp>
Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/m32r/Kconfig')
-rw-r--r-- | arch/m32r/Kconfig | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/arch/m32r/Kconfig b/arch/m32r/Kconfig index 4d100f3886e1..fae67bbb52f6 100644 --- a/arch/m32r/Kconfig +++ b/arch/m32r/Kconfig | |||
@@ -81,6 +81,12 @@ config PLAT_MAPPI2 | |||
81 | config PLAT_MAPPI3 | 81 | config PLAT_MAPPI3 |
82 | bool "Mappi-III(M3A-2170)" | 82 | bool "Mappi-III(M3A-2170)" |
83 | 83 | ||
84 | config PLAT_M32104UT | ||
85 | bool "M32104UT" | ||
86 | help | ||
87 | The M3T-M32104UT is an reference board based on uT-Engine | ||
88 | specification. This board has a M32104 chip. | ||
89 | |||
84 | endchoice | 90 | endchoice |
85 | 91 | ||
86 | choice | 92 | choice |
@@ -93,6 +99,10 @@ config CHIP_M32700 | |||
93 | config CHIP_M32102 | 99 | config CHIP_M32102 |
94 | bool "M32102" | 100 | bool "M32102" |
95 | 101 | ||
102 | config CHIP_M32104 | ||
103 | bool "M32104" | ||
104 | depends on PLAT_M32104UT | ||
105 | |||
96 | config CHIP_VDEC2 | 106 | config CHIP_VDEC2 |
97 | bool "VDEC2" | 107 | bool "VDEC2" |
98 | 108 | ||
@@ -115,7 +125,7 @@ config TLB_ENTRIES | |||
115 | 125 | ||
116 | config ISA_M32R | 126 | config ISA_M32R |
117 | bool | 127 | bool |
118 | depends on CHIP_M32102 | 128 | depends on CHIP_M32102 || CHIP_M32104 |
119 | default y | 129 | default y |
120 | 130 | ||
121 | config ISA_M32R2 | 131 | config ISA_M32R2 |
@@ -140,6 +150,7 @@ config BUS_CLOCK | |||
140 | default "50000000" if PLAT_MAPPI3 | 150 | default "50000000" if PLAT_MAPPI3 |
141 | default "50000000" if PLAT_M32700UT | 151 | default "50000000" if PLAT_M32700UT |
142 | default "50000000" if PLAT_OPSPUT | 152 | default "50000000" if PLAT_OPSPUT |
153 | default "54000000" if PLAT_M32104UT | ||
143 | default "33333333" if PLAT_OAKS32R | 154 | default "33333333" if PLAT_OAKS32R |
144 | default "20000000" if PLAT_MAPPI2 | 155 | default "20000000" if PLAT_MAPPI2 |
145 | 156 | ||
@@ -157,6 +168,7 @@ config MEMORY_START | |||
157 | default "08000000" if PLAT_USRV | 168 | default "08000000" if PLAT_USRV |
158 | default "08000000" if PLAT_M32700UT | 169 | default "08000000" if PLAT_M32700UT |
159 | default "08000000" if PLAT_OPSPUT | 170 | default "08000000" if PLAT_OPSPUT |
171 | default "04000000" if PLAT_M32104UT | ||
160 | default "01000000" if PLAT_OAKS32R | 172 | default "01000000" if PLAT_OAKS32R |
161 | 173 | ||
162 | config MEMORY_SIZE | 174 | config MEMORY_SIZE |
@@ -166,6 +178,7 @@ config MEMORY_SIZE | |||
166 | default "02000000" if PLAT_USRV | 178 | default "02000000" if PLAT_USRV |
167 | default "01000000" if PLAT_M32700UT | 179 | default "01000000" if PLAT_M32700UT |
168 | default "01000000" if PLAT_OPSPUT | 180 | default "01000000" if PLAT_OPSPUT |
181 | default "01000000" if PLAT_M32104UT | ||
169 | default "00800000" if PLAT_OAKS32R | 182 | default "00800000" if PLAT_OAKS32R |
170 | 183 | ||
171 | config NOHIGHMEM | 184 | config NOHIGHMEM |
@@ -174,21 +187,22 @@ config NOHIGHMEM | |||
174 | 187 | ||
175 | config ARCH_DISCONTIGMEM_ENABLE | 188 | config ARCH_DISCONTIGMEM_ENABLE |
176 | bool "Internal RAM Support" | 189 | bool "Internal RAM Support" |
177 | depends on CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP | 190 | depends on CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104 |
178 | default y | 191 | default y |
179 | 192 | ||
180 | source "mm/Kconfig" | 193 | source "mm/Kconfig" |
181 | 194 | ||
182 | config IRAM_START | 195 | config IRAM_START |
183 | hex "Internal memory start address (hex)" | 196 | hex "Internal memory start address (hex)" |
184 | default "00f00000" | 197 | default "00f00000" if !CHIP_M32104 |
185 | depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP) && DISCONTIGMEM | 198 | default "00700000" if CHIP_M32104 |
199 | depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM | ||
186 | 200 | ||
187 | config IRAM_SIZE | 201 | config IRAM_SIZE |
188 | hex "Internal memory size (hex)" | 202 | hex "Internal memory size (hex)" |
189 | depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP) && DISCONTIGMEM | 203 | depends on (CHIP_M32700 || CHIP_M32102 || CHIP_VDEC2 || CHIP_OPSP || CHIP_M32104) && DISCONTIGMEM |
190 | default "00080000" if CHIP_M32700 | 204 | default "00080000" if CHIP_M32700 |
191 | default "00010000" if CHIP_M32102 || CHIP_OPSP | 205 | default "00010000" if CHIP_M32102 || CHIP_OPSP || CHIP_M32104 |
192 | default "00008000" if CHIP_VDEC2 | 206 | default "00008000" if CHIP_VDEC2 |
193 | 207 | ||
194 | # | 208 | # |