提交 b5f87aa4 编写于 作者: M Mike Frysinger 提交者: Bryan Wu

Blackfin arch: cleanup BF54x header file and add BF547 definition

Signed-off-by: NMike Frysinger <michael.frysinger@analog.com>
Signed-off-by: NBryan Wu <bryan.wu@analog.com>
上级 7160e950
无相关合并请求
...@@ -106,24 +106,22 @@ ...@@ -106,24 +106,22 @@
#define AMGCTLVAL (V_AMBEN | V_AMCKEN) #define AMGCTLVAL (V_AMBEN | V_AMCKEN)
#ifdef CONFIG_BF542 #if defined(CONFIG_BF542)
#define CPU "BF542" # define CPU "BF542"
#define CPUID 0x027c8000 # define CPUID 0x027c8000
#endif #elif defined(CONFIG_BF544)
#ifdef CONFIG_BF544 # define CPU "BF544"
#define CPU "BF544" # define CPUID 0x027c8000
#define CPUID 0x027c8000 #elif defined(CONFIG_BF547)
#endif # define CPU "BF547"
#ifdef CONFIG_BF548 #elif defined(CONFIG_BF548)
#define CPU "BF548" # define CPU "BF548"
#define CPUID 0x027c6000 # define CPUID 0x027c6000
#endif #elif defined(CONFIG_BF549)
#ifdef CONFIG_BF549 # define CPU "BF549"
#define CPU "BF549" #else
#endif # define CPU "UNKNOWN"
#ifndef CPU # define CPUID 0x0
#define CPU "UNKNOWN"
#define CPUID 0x0
#endif #endif
#endif /* __MACH_BF48_H__ */ #endif /* __MACH_BF48_H__ */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部