[U-Boot] imx8: cpu: restrict checking ROM passover info for revA

sbabic at denx.de
2019-01-30T08:57:02Z

> Passover info only for revA.
> move get_cpu_rev out of CONFIG_CPU to avoid build failure when using
> get_cpu_rev in SPL.
> Add a CONFIG_SPL_BUILD for passover usage, no need to execute it again
> in normal U-Boot stage. Also if still checking passover info in normal
> U-Boot stage, need to make the passover code executed after
> arch_cpu_init_dm.
> So to make it easy and clean, only execute the code for SPL stage.
> Signed-off-by: Peng Fan <peng.fan@nxp.com>

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================