mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
arm: support reboot / poweroff for qemu virt arm
Signed-off-by: Shanmin Zhang <zhangshanmin@xiaomi.com>
This commit is contained in:
committed by
Xiang Xiao
parent
9f10ddc9b0
commit
b9fb9bea1d
@@ -51,6 +51,10 @@ void arm_boot(void)
|
||||
|
||||
qemu_setupmappings();
|
||||
|
||||
#if defined(CONFIG_ARCH_HAVE_PSCI)
|
||||
arm_psci_init("hvc");
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEVICE_TREE
|
||||
fdt_register((FAR const char *)0x40000000);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user