for AMD platform, if we do hard_reset, then will do another soft reset in auto.c stage to make ht (freq/width) effective.
ck804 the cf9 is default enabled. We don't need to bother to enable it.
there is comment in ck804_reset.c, but i guess that is removed when someone reiviewd my code.
YH
On 6/23/05, Stephen.Kimball@bench.com Stephen.Kimball@bench.com wrote:
OK. Maybe I'm the only one confused but why should the hard_reset called from hardwaremain in C really do a soft reset. Wouldn't it be better to call it soft_reset? Or maybe comment the code if hard_reset needs to do a soft reset? And your sure the cf9 port is enabled? Right?
Steve
-----Original Message----- From: yhlu [mailto:yinghailu@gmail.com] Sent: Thursday, June 23, 2005 11:30 AM To: Kimball, Stephen Cc: YhLu@tyan.com; linuxbios@openbios.org Subject: Re: [LinuxBIOS] Merge complete....
stephen,
that's right.
in auto.c stage, the hard reset is real one it will reset pci space and ht (freq/width). the soft reset will keep the ht (freq/width). the hard_reset is called when ram init exception.
in the linuxbios_ram stage totally in c ( from hardwaremain, or the root_reset_bus) is actually a soft reset, it will keep the ht (freq/width)
the problem i met is problem ck804 doesn't reconfig ht two times.
YH