summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2017-01-10 07:08:57 -0800
committerSascha Hauer <s.hauer@pengutronix.de>2017-01-12 07:40:00 +0100
commit390f49096e8b1dea250ab4439461211601e51f03 (patch)
tree584ed39ee2425ab5ba7bc6599989a56f9ce56dd4
parent75b6972be4ec9c7edb7e4a42fc3d3fa6778cb5d1 (diff)
downloadbarebox-390f49096e8b1dea250ab4439461211601e51f03.tar.gz
barebox-390f49096e8b1dea250ab4439461211601e51f03.tar.xz
i.MX: ocotp: Initialize OCOTP as early as possible
On Vybrid SoC OCOTP module contains speed grading information that is needed to correctly adjust CPU clock to its maxumum rate, so we need to have this information handy as early as possible. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/mach-imx/ocotp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/ocotp.c b/arch/arm/mach-imx/ocotp.c
index bd5448ddd..c67e37ad0 100644
--- a/arch/arm/mach-imx/ocotp.c
+++ b/arch/arm/mach-imx/ocotp.c
@@ -610,4 +610,4 @@ static int imx_ocotp_init(void)
return 0;
}
-coredevice_initcall(imx_ocotp_init);
+postcore_initcall(imx_ocotp_init);