2012-10-01 12:29:37 +00:00
|
|
|
#include <common.h>
|
|
|
|
#include <asm/barebox-arm-head.h>
|
|
|
|
#include <asm/barebox-arm.h>
|
|
|
|
#include <mach/imx5.h>
|
2012-10-14 20:13:55 +00:00
|
|
|
#include <mach/esdctl.h>
|
2012-11-15 09:57:15 +00:00
|
|
|
|
2013-02-05 13:45:26 +00:00
|
|
|
void __naked barebox_arm_reset_vector(void)
|
2012-10-01 12:29:37 +00:00
|
|
|
{
|
2013-02-05 13:45:26 +00:00
|
|
|
arm_cpu_lowlevel_init();
|
2012-10-01 12:29:37 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* For the TX53 rev 8030 the SDRAM setup is not stable without
|
|
|
|
* the proper PLL setup. It will crash once we enable the MMU,
|
|
|
|
* so do the PLL setup here.
|
|
|
|
*/
|
|
|
|
if (IS_ENABLED(CONFIG_TX53_REV_XX30))
|
2013-04-03 06:38:57 +00:00
|
|
|
imx53_init_lowlevel_early(800);
|
2012-10-01 12:29:37 +00:00
|
|
|
|
2012-10-14 20:13:55 +00:00
|
|
|
imx53_barebox_entry(0);
|
2012-10-01 12:29:37 +00:00
|
|
|
}
|