Skip to content

Commit 6c32955

Browse files
arndbglaubitz
authored andcommitted
sh: Remove unused SH4-202 support
This early prototype of the SH4 CPU was only used in the "microdev" board that is now removed, so all of the SH4-202 supoprt can also be removed. Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: John Paul Adrian Glaubitz <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: John Paul Adrian Glaubitz <[email protected]>
1 parent 3ca64d0 commit 6c32955

File tree

4 files changed

+0
-322
lines changed

4 files changed

+0
-322
lines changed

arch/sh/Kconfig

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -383,10 +383,6 @@ config CPU_SUBTYPE_SH7760
383383
bool "Support SH7760 processor"
384384
select CPU_SH4
385385

386-
config CPU_SUBTYPE_SH4_202
387-
bool "Support SH4-202 processor"
388-
select CPU_SH4
389-
390386
# SH-4A Processor Support
391387

392388
config CPU_SUBTYPE_SH7723
@@ -517,7 +513,6 @@ config SH_PCLK_FREQ
517513
CPU_SUBTYPE_SH7263 || \
518514
CPU_SUBTYPE_MXG
519515
default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
520-
default "66000000" if CPU_SUBTYPE_SH4_202
521516
default "50000000"
522517
help
523518
This option is used to specify the peripheral clock frequency.

arch/sh/kernel/cpu/sh4/Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,11 @@ obj-$(CONFIG_CPU_SUBTYPE_SH7091) += setup-sh7750.o
2323
obj-$(CONFIG_CPU_SUBTYPE_SH7751) += setup-sh7750.o
2424
obj-$(CONFIG_CPU_SUBTYPE_SH7751R) += setup-sh7750.o
2525
obj-$(CONFIG_CPU_SUBTYPE_SH7760) += setup-sh7760.o
26-
obj-$(CONFIG_CPU_SUBTYPE_SH4_202) += setup-sh4-202.o
2726

2827
# Primary on-chip clocks (common)
2928
ifndef CONFIG_CPU_SH4A
3029
clock-$(CONFIG_CPU_SH4) := clock-sh4.o
3130
endif
3231

33-
# Additional clocks by subtype
34-
clock-$(CONFIG_CPU_SUBTYPE_SH4_202) += clock-sh4-202.o
35-
3632
obj-y += $(clock-y)
3733
obj-$(CONFIG_PERF_EVENTS) += $(perf-y)

arch/sh/kernel/cpu/sh4/clock-sh4-202.c

Lines changed: 0 additions & 174 deletions
This file was deleted.

arch/sh/kernel/cpu/sh4/setup-sh4-202.c

Lines changed: 0 additions & 139 deletions
This file was deleted.

0 commit comments

Comments
 (0)