Merge pull request #9247 from Z8MAN8/cvitek_arm_board_init
bsp: cviteK: update board init for aarch64
This commit is contained in:
commit
660f3aa205
|
@ -79,13 +79,6 @@ void rt_hw_board_init(void)
|
||||||
#else
|
#else
|
||||||
void rt_hw_board_init(void)
|
void rt_hw_board_init(void)
|
||||||
{
|
{
|
||||||
rt_fdt_commit_memregion_early(&(rt_region_t)
|
|
||||||
{
|
|
||||||
.name = "memheap",
|
|
||||||
.start = (rt_size_t)rt_kmem_v2p((void *)HEAP_BEGIN),
|
|
||||||
.end = (rt_size_t)rt_kmem_v2p((void *)HEAP_END),
|
|
||||||
}, RT_TRUE);
|
|
||||||
|
|
||||||
rt_hw_common_setup();
|
rt_hw_common_setup();
|
||||||
}
|
}
|
||||||
#endif /* RT_USING_OFW */
|
#endif /* RT_USING_OFW */
|
||||||
|
|
Loading…
Reference in New Issue