2013-07-03 19:08:31 +00:00
|
|
|
#include <common.h>
|
|
|
|
#include <sizes.h>
|
2014-06-25 07:18:20 +00:00
|
|
|
#include <mach/generic.h>
|
2013-07-03 19:08:31 +00:00
|
|
|
#include <asm/barebox-arm-head.h>
|
|
|
|
#include <asm/barebox-arm.h>
|
|
|
|
|
|
|
|
extern char __dtb_imx6q_gk802_start[];
|
|
|
|
|
2013-11-26 09:17:00 +00:00
|
|
|
ENTRY_FUNCTION(start_imx6_gk802, r0, r1, r2)
|
2013-07-03 19:08:31 +00:00
|
|
|
{
|
2014-05-01 21:32:49 +00:00
|
|
|
void *fdt;
|
2013-07-03 19:08:31 +00:00
|
|
|
|
2014-06-25 07:18:20 +00:00
|
|
|
imx6_cpu_lowlevel_init();
|
2013-07-03 19:08:31 +00:00
|
|
|
|
2014-05-01 21:32:49 +00:00
|
|
|
fdt = __dtb_imx6q_gk802_start - get_runtime_offset();
|
2013-07-03 19:08:31 +00:00
|
|
|
barebox_arm_entry(0x10000000, SZ_1G, fdt);
|
|
|
|
}
|