summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/karo-tx53
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-04-03 08:38:57 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-04-05 08:27:52 +0200
commit17ad33b5d5803042edce176b08a6ce94e6e048bf (patch)
tree1d005083027608fbb2da6b7a45018fe90394bfdd /arch/arm/boards/karo-tx53
parent389785f106cba465d05b94fc421a86863e60c73e (diff)
downloadbarebox-17ad33b5d5803042edce176b08a6ce94e6e048bf.tar.gz
barebox-17ad33b5d5803042edce176b08a6ce94e6e048bf.tar.xz
ARM: i.MX53: split lowlevel function into early/nonearly version
clock_notifier_call_chain() can't be called before init time. Protecting it with IS_ENABLED(__PBL__) is not enough. This patch splits out a new imx53_init_lowlevel_early which can be called before init time and does not have the call to clock_notifier_call_chain() in it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/karo-tx53')
-rw-r--r--arch/arm/boards/karo-tx53/lowlevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boards/karo-tx53/lowlevel.c b/arch/arm/boards/karo-tx53/lowlevel.c
index 32d2c8f2c1..f47f260722 100644
--- a/arch/arm/boards/karo-tx53/lowlevel.c
+++ b/arch/arm/boards/karo-tx53/lowlevel.c
@@ -14,7 +14,7 @@ void __naked barebox_arm_reset_vector(void)
* so do the PLL setup here.
*/
if (IS_ENABLED(CONFIG_TX53_REV_XX30))
- imx53_init_lowlevel(800);
+ imx53_init_lowlevel_early(800);
imx53_barebox_entry(0);
}