From mboxrd@z Thu Jan 1 00:00:00 1970 From: sbabic at denx.de Date: Fri, 9 Apr 2021 13:24:53 +0200 (CEST) Subject: [PATCH v1] imx: bootaux fix elf loading In-Reply-To: <20210311171808.63242-1-max.krummenacher@toradex.com> Message-ID: <20210409112453.ACB61804EF@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 > This reverts the arch/arm/mach-imx/imx_bootaux.c changes of commit > 805b3cac1e0c. The loader function name was changed so that it does > not clash with the generically available function in lib/elf.c. > imx-bootaux loads an elf file linked for an auxilary core. Thus the > loader function requires address translation from the auxilary core's > address space to where those are mapped into U-Boot's address space. > So the elf loader is specific and must not be replaced with a generic > loader which doesn't provide the address translation functionality. > Fixes commit 805b3cac1e0c ("lib: elf: Move the generic elf > loading/validating functions to lib") > Signed-off-by: Max Krummenacher > Acked-by: Oleksandr Suvorov 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 =====================================================================