From mboxrd@z Thu Jan 1 00:00:00 1970 From: sbabic at denx.de Date: Fri, 1 May 2020 18:33:03 +0200 (CEST) Subject: [PATCH 2/3] imx: imx8m*: Remove do_reset from board files In-Reply-To: <25277ba3658920ff3be7464020438070844f05da.1583328917.git.hws@denx.de> Message-ID: <20200501163303.6AB8881DC0@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: Claudius Heine > Use the `do_reset` implementation of `arch/arm/lib/reset.c` in SPL > instead. It is very close to what is done here, anyway, and plays > more nicely with the rest of U-Boot than adding a custom `do_reset` > implementation into board files. > `do_reset` from `arch/arm/lib/reset.c` calls `reset_cpu` with 0 as the > addr parameter while the boards are passing WDOG1_BASE_ADDR. This is > ok because the `reset_cpu` implementation uses WDOG1_BASE_ADDR by > default if 0 is passed in. > Co-Authored-by: Harald Seiler > Signed-off-by: Claudius Heine > Signed-off-by: Harald Seiler > Reviewed-by: Marek Vasut 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 =====================================================================