[coreboot] [PATCH] Major cleanups of hard_reset() related code/config
Joseph Smith
joe at settoplinux.org
Tue Oct 20 13:01:25 CEST 2009
On Tue, 20 Oct 2009 06:53:49 -0400, Joseph Smith <joe at settoplinux.org>
wrote:
>
>>
>> Can someone explain what the rationale is for having the board reset.c
>> files (and some hard_reset() implementations in auto.c instead of in
>> reset.c files, which is also not so nice)?
>>
> I know for my two boards I need the hard_reset() in auto.c otherwise
> coreboot hangs at raminit after a Linux reboot because the memory is
still
> initialized and needs to be reset.
>
> Hence:
>
> if (memory_initialized()) {
> hard_reset();
> }
>
>
I suppose boards APCI and power state implimentations (SO -> S5) probably
don't need hard_reset() in auto.c, but the rest will need this.
--
Thanks,
Joseph Smith
Set-Top-Linux
www.settoplinux.org
More information about the coreboot
mailing list