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

void __naked reset(void)
{
	common_reset();

	/*
	 * 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))
		imx53_init_lowlevel(800);

	imx53_barebox_entry(0);
}