Commit 1994afdb authored by Yuri Tikhonov's avatar Yuri Tikhonov
Browse files

RT72064. mach-types: fix STM32F2 machine ID, it's 3750

Use ID assigned here:
http://www.arm.linux.org.uk/developer/machines/

Signed-off-by: default avatarYuri Tikhonov <yur@emcraft.com>
parent 300a296d
......@@ -2700,7 +2700,7 @@ extern unsigned int __machine_arch_type;
#define MACH_TYPE_IGEP0030 2717
#define MACH_TYPE_AXELL_H40_H50_CTRL 2718
#define MACH_TYPE_A2F 3344
#define MACH_TYPE_STM32F2 3345
#define MACH_TYPE_STM32F2 3750
 
#ifdef CONFIG_ARCH_EBSA110
# ifdef machine_arch_type
......@@ -34958,6 +34958,18 @@ extern unsigned int __machine_arch_type;
# define machine_is_a2f() (0)
#endif
 
#ifdef CONFIG_MACH_STM32F2
# ifdef machine_arch_type
# undef machine_arch_type
# define machine_arch_type __machine_arch_type
# else
# define machine_arch_type MACH_TYPE_STM32F2
# endif
# define machine_is_stm32f2() (machine_arch_type == MACH_TYPE_STM32F2)
#else
# define machine_is_stm32f2() (0)
#endif
/*
* These have not yet been registered
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment