Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b5f87aa4 authored by Mike Frysinger's avatar Mike Frysinger Committed by Bryan Wu
Browse files

Blackfin arch: cleanup BF54x header file and add BF547 definition

parent 7160e950
Loading
Loading
Loading
Loading
+16 −18
Original line number Original line Diff line number Diff line
@@ -106,22 +106,20 @@


#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
#endif
#elif defined(CONFIG_BF547)
#ifdef CONFIG_BF548
# define CPU "BF547"
#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"
#endif
#else
#ifndef CPU
# define CPU "UNKNOWN"
# define CPU "UNKNOWN"
# define CPUID 0x0
# define CPUID 0x0
#endif
#endif