From mboxrd@z Thu Jan 1 00:00:00 1970 From: sbabic at denx.de Date: Mon, 4 May 2020 09:34:50 +0200 (CEST) Subject: [PATCH V3 4/9] common: board_f: Use cpu_get_current_dev in print_cpuinfo In-Reply-To: <20200503135855.11484-4-peng.fan@nxp.com> Message-ID: <20200504073450.CD5C181F4B@phobos.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 > From: Ye Li > Current print_cpuinfo gets the first udevice in CPU class to return > the cpu info. This has problem if the boot CPU is not fixed. > Changing to use new API cpu_get_current_dev to fix the issue. > Reviewed-by: Simon Glass > Signed-off-by: Ye Li > 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 =====================================================================