mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-31 03:21:32 +00:00
SH4 and SH4A are compatible. But some instructions are different from these. In Linux kernel, It is treated as a separate CPU, but for now, I think that there is no need to divide especially in the U-Boot. This removes CONFIG_SH4A definition from source code, SH4A is treated as SH4. And this fix white space. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11 lines
254 B
C
11 lines
254 B
C
#ifndef _ASM_SH_PROCESSOR_H_
|
|
#define _ASM_SH_PROCESSOR_H_
|
|
#if defined(CONFIG_SH2) || \
|
|
defined (CONFIG_SH2A)
|
|
# include <asm/cpu_sh2.h>
|
|
#elif defined(CONFIG_SH3)
|
|
# include <asm/cpu_sh3.h>
|
|
#elif defined(CONFIG_SH4)
|
|
# include <asm/cpu_sh4.h>
|
|
#endif
|
|
#endif
|