mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
arch/arm: Enable FPU on qemu and goldfish platforms
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
This commit is contained in:
committed by
Mateusz Szafoni
parent
da7d6ef37b
commit
029bbf6bbd
@@ -863,6 +863,7 @@ config ARCH_CORTEXA7
|
|||||||
select ARCH_HAVE_MMU
|
select ARCH_HAVE_MMU
|
||||||
select ARCH_USE_MMU
|
select ARCH_USE_MMU
|
||||||
select ARCH_HAVE_TESTSET
|
select ARCH_HAVE_TESTSET
|
||||||
|
select ARCH_HAVE_FPU
|
||||||
select ARM_HAVE_MPCORE
|
select ARM_HAVE_MPCORE
|
||||||
|
|
||||||
config ARCH_CORTEXA8
|
config ARCH_CORTEXA8
|
||||||
|
|||||||
@@ -51,6 +51,8 @@ void arm_boot(void)
|
|||||||
|
|
||||||
goldfish_setupmappings();
|
goldfish_setupmappings();
|
||||||
|
|
||||||
|
arm_fpuconfig();
|
||||||
|
|
||||||
#ifdef CONFIG_DEVICE_TREE
|
#ifdef CONFIG_DEVICE_TREE
|
||||||
fdt_register((const char *)0x40000000);
|
fdt_register((const char *)0x40000000);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -51,6 +51,8 @@ void arm_boot(void)
|
|||||||
|
|
||||||
qemu_setupmappings();
|
qemu_setupmappings();
|
||||||
|
|
||||||
|
arm_fpuconfig();
|
||||||
|
|
||||||
#if defined(CONFIG_ARCH_HAVE_PSCI)
|
#if defined(CONFIG_ARCH_HAVE_PSCI)
|
||||||
arm_psci_init("hvc");
|
arm_psci_init("hvc");
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user