XMC4xxx: Add FPU support
This commit is contained in:
parent
6168d43c2c
commit
7f2c4c4274
@ -56,7 +56,7 @@
|
||||
# define XMC4_NUSIC 3 /* Three USIC modules: USCI0-2 */
|
||||
# define XMC4_SCU_GATING 1 /* Has clock gating registers */
|
||||
# define XMC4_NECAT 0 /* No EtherCAT support */
|
||||
#elif defined(CONFIG_ARCH_CHIP_XMC4700)
|
||||
#elif defined(CONFIG_ARCH_CHIP_XMC4800)
|
||||
# define XMC4_NUSIC 3 /* Three USIC modules: USCI0-2 */
|
||||
# define XMC4_SCU_GATING 1 /* Has clock gating registers */
|
||||
# define XMC4_NECAT 1 /* One EtherCAT module */
|
||||
|
@ -12,12 +12,15 @@ choice
|
||||
|
||||
config ARCH_CHIP_XMC4500
|
||||
bool "XMC4500"
|
||||
select ARCH_HAVE_FPU
|
||||
|
||||
config ARCH_CHIP_XMC4700
|
||||
bool "XMC4700"
|
||||
select ARCH_HAVE_FPU
|
||||
|
||||
config ARCH_CHIP_XMC4800
|
||||
bool "XMC4700"
|
||||
bool "XMC4800"
|
||||
select ARCH_HAVE_FPU
|
||||
|
||||
endchoice
|
||||
|
||||
|
@ -134,7 +134,7 @@ CONFIG_ARM_TOOLCHAIN_GNU=y
|
||||
CONFIG_ARCH_HAVE_CMNVECTOR=y
|
||||
CONFIG_ARMV7M_CMNVECTOR=y
|
||||
CONFIG_ARMV7M_LAZYFPU=y
|
||||
# CONFIG_ARCH_HAVE_FPU is not set
|
||||
CONFIG_ARCH_HAVE_FPU=y
|
||||
# CONFIG_ARCH_HAVE_DPFPU is not set
|
||||
# CONFIG_ARCH_HAVE_TRUSTZONE is not set
|
||||
CONFIG_ARM_HAVE_MPU_UNIFIED=y
|
||||
|
Loading…
Reference in New Issue
Block a user