aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r--arch/sh/Kconfig11
1 files changed, 9 insertions, 2 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 8d2cd1de5726..5b94cacc7d54 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -167,6 +167,12 @@ config CPU_SUBTYPE_SH7263
167 select CPU_SH2A 167 select CPU_SH2A
168 select CPU_HAS_FPU 168 select CPU_HAS_FPU
169 169
170config CPU_SUBTYPE_MXG
171 bool "Support MX-G processor"
172 select CPU_SH2A
173 help
174 Select MX-G if running on an R8A03022BG part.
175
170# SH-3 Processor Support 176# SH-3 Processor Support
171 177
172config CPU_SUBTYPE_SH7705 178config CPU_SUBTYPE_SH7705
@@ -560,7 +566,7 @@ config SH_TMU
560config SH_CMT 566config SH_CMT
561 def_bool y 567 def_bool y
562 prompt "CMT timer support" 568 prompt "CMT timer support"
563 depends on CPU_SH2 569 depends on CPU_SH2 && !CPU_SUBTYPE_MXG
564 help 570 help
565 This enables the use of the CMT as the system timer. 571 This enables the use of the CMT as the system timer.
566 572
@@ -578,6 +584,7 @@ config SH_TIMER_IRQ
578 default "86" if CPU_SUBTYPE_SH7619 584 default "86" if CPU_SUBTYPE_SH7619
579 default "140" if CPU_SUBTYPE_SH7206 585 default "140" if CPU_SUBTYPE_SH7206
580 default "142" if CPU_SUBTYPE_SH7203 586 default "142" if CPU_SUBTYPE_SH7203
587 default "238" if CPU_SUBTYPE_MXG
581 default "16" 588 default "16"
582 589
583config SH_PCLK_FREQ 590config SH_PCLK_FREQ
@@ -588,7 +595,7 @@ config SH_PCLK_FREQ
588 default "33333333" if CPU_SUBTYPE_SH7770 || \ 595 default "33333333" if CPU_SUBTYPE_SH7770 || \
589 CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \ 596 CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
590 CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \ 597 CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
591 CPU_SUBTYPE_SH7263 598 CPU_SUBTYPE_SH7263 || CPU_SUBTYPE_MXG
592 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R 599 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
593 default "66000000" if CPU_SUBTYPE_SH4_202 600 default "66000000" if CPU_SUBTYPE_SH4_202
594 default "50000000" 601 default "50000000"