Skip to content

Commit 029bbf6

Browse files
wangming9raiden00pl
authored andcommitted
arch/arm: Enable FPU on qemu and goldfish platforms
Signed-off-by: yangguangcai <[email protected]>
1 parent da7d6ef commit 029bbf6

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

arch/arm/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,7 @@ config ARCH_CORTEXA7
863863
select ARCH_HAVE_MMU
864864
select ARCH_USE_MMU
865865
select ARCH_HAVE_TESTSET
866+
select ARCH_HAVE_FPU
866867
select ARM_HAVE_MPCORE
867868

868869
config ARCH_CORTEXA8

arch/arm/src/goldfish/goldfish_boot.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ void arm_boot(void)
5151

5252
goldfish_setupmappings();
5353

54+
arm_fpuconfig();
55+
5456
#ifdef CONFIG_DEVICE_TREE
5557
fdt_register((const char *)0x40000000);
5658
#endif

arch/arm/src/qemu/qemu_boot.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ void arm_boot(void)
5151

5252
qemu_setupmappings();
5353

54+
arm_fpuconfig();
55+
5456
#if defined(CONFIG_ARCH_HAVE_PSCI)
5557
arm_psci_init("hvc");
5658
#endif

0 commit comments

Comments
 (0)