diff options
Diffstat (limited to 'arch/sh/cpu/sh2')
| -rw-r--r-- | arch/sh/cpu/sh2/config.mk | 2 | ||||
| -rw-r--r-- | arch/sh/cpu/sh2/cpu.c | 4 | 
2 files changed, 1 insertions, 5 deletions
| diff --git a/arch/sh/cpu/sh2/config.mk b/arch/sh/cpu/sh2/config.mk index 8a0de9671..69273b4f3 100644 --- a/arch/sh/cpu/sh2/config.mk +++ b/arch/sh/cpu/sh2/config.mk @@ -12,7 +12,7 @@ PLATFORM_CPPFLAGS += -m2a -m2a-nofpu -mb -ffreestanding  else # SH2  PLATFORM_CPPFLAGS += -m3e -mb  endif -PLATFORM_CPPFLAGS += $(call cc-option,-mno-fdpic) +PLATFORM_CPPFLAGS += -DCONFIG_SH2 $(call cc-option,-mno-fdpic)  PLATFORM_RELFLAGS += -ffixed-r13  PLATFORM_LDFLAGS += $(ENDIANNESS) diff --git a/arch/sh/cpu/sh2/cpu.c b/arch/sh/cpu/sh2/cpu.c index 18479a4c4..a2f856f45 100644 --- a/arch/sh/cpu/sh2/cpu.c +++ b/arch/sh/cpu/sh2/cpu.c @@ -23,11 +23,7 @@  int checkcpu(void)  { -#if defined(CONFIG_SH2A) -	puts("CPU: SH2A\n"); -#else  	puts("CPU: SH2\n"); -#endif  	return 0;  } |