[U-Boot-Users] PATCH: Introducing CONFIG_BOARD_PRE_RESET

Steven Scholz
2004-11-23T14:18:37Z

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