9
0
Fork 0

imx6:phyFLEX: Fix ENTRY_FUNCTION

For some phyFLEX-i.MX6 modules the call __barebox_arm_head() was not removed.
With this function the barebox does not start.

Signed-off-by: Christian Hemp <christian.hemp@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Christian Hemp 2014-06-26 16:09:17 +02:00 committed by Sascha Hauer
parent 8eaa3b0fd8
commit d1360672e8
1 changed files with 3 additions and 9 deletions

View File

@ -93,8 +93,6 @@ ENTRY_FUNCTION(start_phytec_pbab01_4gib, r0, r1, r2)
{
void *fdt;
__barebox_arm_head();
arm_cpu_lowlevel_init();
arm_setup_stack(0x00920000 - 8);
@ -108,23 +106,19 @@ ENTRY_FUNCTION(start_phytec_pbab01dl_1gib, r0, r1, r2)
{
void *fdt;
__barebox_arm_head();
arm_cpu_lowlevel_init();
arm_cpu_lowlevel_init();
arm_setup_stack(0x00920000 - 8);
arm_setup_stack(0x00920000 - 8);
fdt = __dtb_imx6dl_phytec_pbab01_start - get_runtime_offset();
barebox_arm_entry(0x10000000, SZ_1G, fdt);
barebox_arm_entry(0x10000000, SZ_1G, fdt);
}
ENTRY_FUNCTION(start_phytec_pbab01s_512mb, r0, r1, r2)
{
void *fdt;
__barebox_arm_head();
arm_cpu_lowlevel_init();
arm_setup_stack(0x00920000 - 8);