devicetree: add devicetree support for arm/arm64
Signed-off-by: liaoao <liaoao@xiaomi.com>
This commit is contained in:
parent
90fba56d2e
commit
78c942a05a
@ -29,6 +29,10 @@
|
||||
#include "qemu_irq.h"
|
||||
#include "qemu_memorymap.h"
|
||||
|
||||
#ifdef CONFIG_DEVICE_TREE
|
||||
# include <nuttx/fdt.h>
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
@ -47,6 +51,10 @@ void arm_boot(void)
|
||||
|
||||
qemu_setupmappings();
|
||||
|
||||
#ifdef CONFIG_DEVICE_TREE
|
||||
fdt_register((FAR const char *)0x40000000);
|
||||
#endif
|
||||
|
||||
#ifdef USE_EARLYSERIALINIT
|
||||
/* Perform early serial initialization if we are going to use the serial
|
||||
* driver.
|
||||
|
Loading…
x
Reference in New Issue
Block a user