summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/gk802/lowlevel.c
blob: e159ddbb23edc1c8702992e85b784f19ee179395 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <common.h>
#include <sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>

extern char __dtb_imx6q_gk802_start[];

ENTRY_FUNCTION(start_imx6_gk802, r0, r1, r2)
{
	uint32_t fdt;

	arm_cpu_lowlevel_init();

	fdt = (uint32_t)__dtb_imx6q_gk802_start - get_runtime_offset();
	barebox_arm_entry(0x10000000, SZ_1G, fdt);
}