From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Scholz Date: Tue, 23 Nov 2004 15:18:37 +0100 Subject: [U-Boot-Users] PATCH: Introducing CONFIG_BOARD_PRE_RESET In-Reply-To: <417D0D67.2000000@imc-berlin.de> References: <417D0D67.2000000@imc-berlin.de> Message-ID: <41A346BD.2060207@imc-berlin.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang, I wrote: > as mentioned on list before some boards/cpus might need some extra code > to be executed _before_ rebooting. E.g. the i.MX hangs when doing > "reset" while the LCD controller is still enabled. > > That is why I'd like to introduce CONFIG_BOARD_PRE_RESET and > board_pre_reset(). > The attached does exactly that. But only for cpu/arm920t. > If wished I'll add the appropriate code to all cpu/$(CPU)/cpu.c files. > > * Patch by Steven Scholz, 25 Oct 2004: > - Introducing CONFIG_BOARD_PRE_RESET and board_pre_reset() to allow > code to be executed before actually rebooting any new opinions on this topic? -- Steven Scholz