Kconfig (8a84fc15ae5cafcc366dd85cf8e1ab2040679abc) Kconfig (9d4436a6fbc8c5eccdfcb8f5884e0a7b4a57f6d2)
1menu "Processor selection"
2
3#
4# Processor families
5#
6config CPU_SH2
1menu "Processor selection"
2
3#
4# Processor families
5#
6config CPU_SH2
7 select SH_WRITETHROUGH if !CPU_SH2A
7 bool
8 bool
8 select SH_WRITETHROUGH
9
9
10config CPU_SH2A
11 bool
12 select CPU_SH2
13
10config CPU_SH3
11 bool
12 select CPU_HAS_INTEVT
13 select CPU_HAS_SR_RB
14
15config CPU_SH4
16 bool
17 select CPU_HAS_INTEVT

--- 17 unchanged lines hidden (view full) ---

35#
36
37comment "SH-2 Processor Support"
38
39config CPU_SUBTYPE_SH7604
40 bool "Support SH7604 processor"
41 select CPU_SH2
42
14config CPU_SH3
15 bool
16 select CPU_HAS_INTEVT
17 select CPU_HAS_SR_RB
18
19config CPU_SH4
20 bool
21 select CPU_HAS_INTEVT

--- 17 unchanged lines hidden (view full) ---

39#
40
41comment "SH-2 Processor Support"
42
43config CPU_SUBTYPE_SH7604
44 bool "Support SH7604 processor"
45 select CPU_SH2
46
47config CPU_SUBTYPE_SH7619
48 bool "Support SH7619 processor"
49 select CPU_SH2
50
51comment "SH-2A Processor Support"
52
53config CPU_SUBTYPE_SH7206
54 bool "Support SH7206 processor"
55 select CPU_SH2A
56
43comment "SH-3 Processor Support"
44
45config CPU_SUBTYPE_SH7300
46 bool "Support SH7300 processor"
47 select CPU_SH3
48
49config CPU_SUBTYPE_SH7705
50 bool "Support SH7705 processor"

--- 218 unchanged lines hidden (view full) ---

269 for debugging on platforms with 2 and 4-way caches (SH7750R/SH7751R,
270 SH4-202, SH4-501, etc.)
271
272 Turn this option off for platforms that do not have a direct-mapped
273 cache, and you have no need to run the caches in such a configuration.
274
275config SH_WRITETHROUGH
276 bool "Use write-through caching"
57comment "SH-3 Processor Support"
58
59config CPU_SUBTYPE_SH7300
60 bool "Support SH7300 processor"
61 select CPU_SH3
62
63config CPU_SUBTYPE_SH7705
64 bool "Support SH7705 processor"

--- 218 unchanged lines hidden (view full) ---

283 for debugging on platforms with 2 and 4-way caches (SH7750R/SH7751R,
284 SH4-202, SH4-501, etc.)
285
286 Turn this option off for platforms that do not have a direct-mapped
287 cache, and you have no need to run the caches in such a configuration.
288
289config SH_WRITETHROUGH
290 bool "Use write-through caching"
277 default y if CPU_SH2
278 help
279 Selecting this option will configure the caches in write-through
280 mode, as opposed to the default write-back configuration.
281
282 Since there's sill some aliasing issues on SH-4, this option will
283 unfortunately still require the majority of flushing functions to
284 be implemented to deal with aliasing.
285

--- 14 unchanged lines hidden ---
291 help
292 Selecting this option will configure the caches in write-through
293 mode, as opposed to the default write-back configuration.
294
295 Since there's sill some aliasing issues on SH-4, this option will
296 unfortunately still require the majority of flushing functions to
297 be implemented to deal with aliasing.
298

--- 14 unchanged lines hidden ---