Skip to content

Commit

Permalink
sh: Remove unused SH4-202 support
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
arndb authored and glaubitz committed Oct 25, 2023
1 parent 3ca64d0 commit 6c32955
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 322 deletions.
5 changes: 0 additions & 5 deletions arch/sh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -383,10 +383,6 @@ config CPU_SUBTYPE_SH7760
bool "Support SH7760 processor"
select CPU_SH4

config CPU_SUBTYPE_SH4_202
bool "Support SH4-202 processor"
select CPU_SH4

# SH-4A Processor Support

config CPU_SUBTYPE_SH7723
Expand Down Expand Up @@ -517,7 +513,6 @@ config SH_PCLK_FREQ
CPU_SUBTYPE_SH7263 || \
CPU_SUBTYPE_MXG
default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
default "66000000" if CPU_SUBTYPE_SH4_202
default "50000000"
help
This option is used to specify the peripheral clock frequency.
Expand Down
4 changes: 0 additions & 4 deletions arch/sh/kernel/cpu/sh4/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,11 @@ obj-$(CONFIG_CPU_SUBTYPE_SH7091) += setup-sh7750.o
obj-$(CONFIG_CPU_SUBTYPE_SH7751) += setup-sh7750.o
obj-$(CONFIG_CPU_SUBTYPE_SH7751R) += setup-sh7750.o
obj-$(CONFIG_CPU_SUBTYPE_SH7760) += setup-sh7760.o
obj-$(CONFIG_CPU_SUBTYPE_SH4_202) += setup-sh4-202.o

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

# Additional clocks by subtype
clock-$(CONFIG_CPU_SUBTYPE_SH4_202) += clock-sh4-202.o

obj-y += $(clock-y)
obj-$(CONFIG_PERF_EVENTS) += $(perf-y)
174 changes: 0 additions & 174 deletions arch/sh/kernel/cpu/sh4/clock-sh4-202.c

This file was deleted.

139 changes: 0 additions & 139 deletions arch/sh/kernel/cpu/sh4/setup-sh4-202.c

This file was deleted.

0 comments on commit 6c32955

Please sign in to comment.