summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hemp <christian.hemp@gmail.com>2014-06-26 16:09:17 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-06-26 21:38:17 +0200
commitd1360672e8ff19b6ea56f5a874b7db9c555bb369 (patch)
tree52cd2258b12ea23f87d88fa8262abc4d0631833e
parent8eaa3b0fd895e5eac072cebc5b3dacd2f5813cb1 (diff)
downloadbarebox-d1360672e8ff19b6ea56f5a874b7db9c555bb369.tar.gz
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>
-rw-r--r--arch/arm/boards/phytec-phyflex-imx6/lowlevel.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/arch/arm/boards/phytec-phyflex-imx6/lowlevel.c b/arch/arm/boards/phytec-phyflex-imx6/lowlevel.c
index 6c6f660d85..0159d9f1b5 100644
--- a/arch/arm/boards/phytec-phyflex-imx6/lowlevel.c
+++ b/arch/arm/boards/phytec-phyflex-imx6/lowlevel.c
@@ -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);