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
@ -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…
Reference in New Issue
Block a user