summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2018-04-30 23:47:14 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2018-06-13 10:28:54 +0200
commitfe040e0977fab29216f5039e8f9b04e6dbec859a (patch)
tree0d022ffc384a7fd86c9da8b778d0b0fd5a9e81c1
parentea76b4c386b231233222d6adf1d93776600f8899 (diff)
downloadbarebox-fe040e0977fab29216f5039e8f9b04e6dbec859a.tar.gz
ARM: VFxxx: Record cpu boot source as a part of startup
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/vf610.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/vf610.c b/arch/arm/mach-imx/vf610.c
index c535716..b548cbc 100644
--- a/arch/arm/mach-imx/vf610.c
+++ b/arch/arm/mach-imx/vf610.c
@@ -35,6 +35,8 @@ int vf610_init(void)
const char *cputypestr;
void __iomem *src = IOMEM(VF610_SRC_BASE_ADDR);
+ vf610_boot_save_loc();
+
switch (vf610_cpu_type()) {
case VF610_CPUTYPE_VF610:
cputypestr = "VF610";