summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/phytec-phycore-stm32mp1/lowlevel.c
blob: f76bad86a10a4c4ac237e55120aa2eb9d7e7fec8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// SPDX-License-Identifier: GPL-2.0+
#include <common.h>
#include <mach/entry.h>
#include <debug_ll.h>

extern char __dtb_z_stm32mp157c_phycore_stm32mp1_3_start[];

ENTRY_FUNCTION(start_phycore_stm32mp1_3, r0, r1, r2)
{
	void *fdt;

	stm32mp_cpu_lowlevel_init();

	putc_ll('>');

	fdt = __dtb_z_stm32mp157c_phycore_stm32mp1_3_start + get_runtime_offset();

	stm32mp1_barebox_entry(fdt);
}