From: sbabic at denx.de Date: Wed, 30 Jan 2019 08:57:02 +0000 (UTC) Subject: [U-Boot] imx8: cpu: restrict checking ROM passover info for revA In-Reply-To: <20190118090742.2463-1-peng.fan@nxp.com> dl-uboot-imx Message-ID: <20190130085704.E9B3BC21E44@lists.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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 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 =====================================================================