mx7ulp: soc: s_init should only be executed once
authorJorge Ramirez-Ortiz <jorge@foundries.io>
Fri, 17 Jan 2020 09:50:25 +0000 (10:50 +0100)
committerStefano Babic <sbabic@denx.de>
Mon, 20 Jan 2020 14:38:16 +0000 (15:38 +0100)
commit30b8eb5ee684013ce1b3e9fc50b4bf7adec95817
tree87842561f7fb3890886ba7ecc3ed253385b9487f
parentd7e5d97207392106426fe1b84e95533737f922cc
mx7ulp: soc: s_init should only be executed once

On SPL enabled systems, the current s_init code (wdog, clock and ldo
init) is executed twice (by SPL and u-boot). This is not necessary and
might lead to boot issues (ie, starting PMC1 when it is already running).

Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
arch/arm/mach-imx/mx7ulp/soc.c