[PATCH 0/2] sh: add initial SH7305 CPU support

From: cacioandpepe

Date: Thu Oct 01 2026 - 02:58:11 EST


Add initial SuperH support for the Renesas SH7305 processor.

The first patch fixes SH4 compiler flag fallback handling for toolchains
which support SH4A targets but do not provide the plain -m4-nofpu
option.

The second patch adds the SH7305 CPU subtype, processor name and CPU
probe.

This is the first small architecture level part of ongoing SH7305
enablement. Platform specific clock, interrupt controller, timer and
board support are intentionally left for separate patches.

The SH7305 support has been compile tested with GCC 14.3.0 targeting
big endian SH4A.

cacioandpepe (2):
sh: guard SH4 no-FPU compiler fallback
sh: add SH7305 CPU subtype support

arch/sh/Kconfig | 9 +++++++++
arch/sh/Makefile | 2 +-
arch/sh/include/asm/processor.h | 2 +-
arch/sh/kernel/cpu/proc.c | 3 ++-
arch/sh/kernel/cpu/sh4/probe.c | 3 +++
5 files changed, 16 insertions(+), 3 deletions(-)

--
2.55.0