mirror of
https://github.com/apache/nuttx.git
synced 2026-09-11 21:20:10 +00:00
arch/arm: Enable FPU on qemu and goldfish platforms
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
This commit is contained in:
parent
da7d6ef37b
commit
029bbf6bbd
3 changed files with 5 additions and 0 deletions
|
|
@ -863,6 +863,7 @@ config ARCH_CORTEXA7
|
|||
select ARCH_HAVE_MMU
|
||||
select ARCH_USE_MMU
|
||||
select ARCH_HAVE_TESTSET
|
||||
select ARCH_HAVE_FPU
|
||||
select ARM_HAVE_MPCORE
|
||||
|
||||
config ARCH_CORTEXA8
|
||||
|
|
|
|||
|
|
@ -51,6 +51,8 @@ void arm_boot(void)
|
|||
|
||||
goldfish_setupmappings();
|
||||
|
||||
arm_fpuconfig();
|
||||
|
||||
#ifdef CONFIG_DEVICE_TREE
|
||||
fdt_register((const char *)0x40000000);
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -51,6 +51,8 @@ void arm_boot(void)
|
|||
|
||||
qemu_setupmappings();
|
||||
|
||||
arm_fpuconfig();
|
||||
|
||||
#if defined(CONFIG_ARCH_HAVE_PSCI)
|
||||
arm_psci_init("hvc");
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue