From mboxrd@z Thu Jan 1 00:00:00 1970 From: sbabic at denx.de Date: Mon, 4 May 2020 09:34:34 +0200 (CEST) Subject: [PATCH V3 1/9] uclass: cpu: Add new API to get udevice for current CPU In-Reply-To: <20200503135855.11484-1-peng.fan@nxp.com> Message-ID: <20200504073434.94A2981D06@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 > When running on SoC with multiple clusters, the boot CPU may > not be fixed, saying booting from cluster A or cluster B. > Add a API that can return the udevice for current boot CPU. > Cpu driver needs to implement is_current_cpu interface for this > feature, otherwise the API only returns the first udevice in > cpu uclass. > Reviewed-by: Simon Glass > Signed-off-by: Peng Fan > Signed-off-by: Ye Li 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 =====================================================================