On Mon, Oct 25, 2010 at 11:14 PM, Scott Duplichan scott@notabs.org wrote:
-----Original Message----- From: coreboot-bounces@coreboot.org [mailto:coreboot-bounces@coreboot.org] On Behalf Of Peter Stuge Sent: Tuesday, October 26, 2010 12:03 AM To: coreboot@coreboot.org Subject: Re: [coreboot] HT3 for AMD boards
]Scott Duplichan wrote: ]> Here is my proposal. If it seems OK, I will submit a patch. ]> ]> 1) Add an option for HT_MANUAL_SWAP_LIST to amdfam10/kconfig and ]> amdk8/kconfig. The default is zero, which means it has no effect ]> unless overridden. ]> 2) Modify ht_wrapper.c to use HT_MANUAL_SWAP_LIST as the swap list, ]> if non-zero. ]> 3) In mainboard/amd/mahogany_fam10/Kconfig, override HT_MANUAL_SWAP_LIST ]> with the value that is known to allow HT3 to work. ] ]I think it would be nice if the Kconfig option is slightly ]higher-level than containing the actual values. Would it be at all ]possible to e.g. determine some distinct swap lists that boards can ]choose from? ] ]//Peter
Hello Peter,
The problem is that the only real hardware I have for testing is an RS780/SB700 board. Here is the kconfig addition I have for it, as it stands now:
# ----------------overrides--------------------
# With this BUID swap list override, an AMD RS780/SB700/fam10h system can # run the southbridge HT link in HT3 mode. Without it, the link runs at 8-bit # 200 MHz, which prevents high resolution UMA graphics modes from working.
config HT_MANUAL_SWAP_LIST default 0xFF00FF0100
For Serengetti-Cheetah, I think it would look like:
config HT_MANUAL_SWAP_LIST default 0xFF060AFF06000A00
... but I have no way to test it.
Thanks, Scott
Would it be better for the option to call a romstage.c function to set the swaplist?
Marc