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

extern char __dtb_imx51_babbage_start[];

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

	arm_cpu_lowlevel_init();

	fdt = __dtb_imx51_babbage_start - get_runtime_offset();

	imx51_barebox_entry(fdt);
}