···34endif35endif3637+isa-y := $(isa-y)-up38+39cflags-$(CONFIG_CPU_SH2) := $(call cc-option,-m2,)40cflags-$(CONFIG_CPU_SH2A) += $(call cc-option,-m2a,) \41 $(call cc-option,-m2a-nofpu,)···46cflags-$(CONFIG_CPU_BIG_ENDIAN) += -mb47cflags-$(CONFIG_CPU_LITTLE_ENDIAN) += -ml4849+#50+# -Wa,-isa= tuning implies -Wa,-dsp for the versions of binutils that51+# support it, while -Wa,-dsp by itself limits the range of usable opcodes52+# on certain CPU subtypes. Try the ISA variant first, and if that fails,53+# fall back on -Wa,-dsp for the old binutils versions. Even without DSP54+# opcodes, we always want the best ISA tuning the version of binutils55+# will provide.56+#57+isaflags-y := $(call as-option,-Wa$(comma)-isa=$(isa-y),)58+59+isaflags-$(CONFIG_SH_DSP) := \60+ $(call as-option,-Wa$(comma)-isa=$(isa-y),-Wa$(comma)-dsp)61+62+cflags-y += $(isaflags-y) -ffreestanding6364cflags-$(CONFIG_MORE_COMPILE_OPTIONS) += \65 $(shell echo $(CONFIG_COMPILE_OPTIONS) | sed -e 's/"//g')
···41 ARRAY_SIZE(sh4202_devices));42}43__initcall(sh4202_devices_setup);44+45+void __init plat_irq_setup(void)46+{47+ /* do nothing - all IRL interrupts are handled by the board code */48+}