ok that's it. I think this might work.

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1157 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Ronald G. Minnich 2003-09-27 04:28:39 +00:00
parent 864a3d3474
commit 67a1cb3207
1 changed files with 4 additions and 2 deletions

View File

@ -544,7 +544,9 @@ static void sdram_set_registers(const struct mem_controller *ctrl) {
print_err("no memory in this bank\r\n"); print_err("no memory in this bank\r\n");
/* No memory in this bank. Tell it to the bridge. */ /* No memory in this bank. Tell it to the bridge. */
pci_write_config8(north,ramregs[c], 0); pci_write_config8(north,ramregs[c], 0);
} else { }
/* found something */
{
uint8_t best = 0; uint8_t best = 0;
/* Detect MA mapping type of the bank. */ /* Detect MA mapping type of the bank. */
@ -582,7 +584,7 @@ static void sdram_set_registers(const struct mem_controller *ctrl) {
print_err_hex32(eax); print_err(" "); print_err_hex32(eax); print_err(" ");
print_err_hex32(esi); print_err("\r\n"); print_err_hex32(esi); print_err("\r\n");
if (eax < esi) { /* ??*/ if (eax > esi) { /* ??*/
// This is the current best MA mapping. // This is the current best MA mapping.
// Save the address and its MA mapping value. // Save the address and its MA mapping value.