X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fsouthbridge%2Famd%2Fsb800%2Fbootblock.c;h=18eae2431283b8d98070badbf9327659ad0db64d;hb=5a91692466d501bde8fab5f9b0dee0a83444ee51;hp=82d80f08a8b7ca942be71a69759dac1a3640b4f4;hpb=2a561a18deeed436b27cb99cba4b15a4351435a1;p=coreboot.git diff --git a/src/southbridge/amd/sb800/bootblock.c b/src/southbridge/amd/sb800/bootblock.c index 82d80f08a..18eae2431 100644 --- a/src/southbridge/amd/sb800/bootblock.c +++ b/src/southbridge/amd/sb800/bootblock.c @@ -57,7 +57,7 @@ static void sb800_enable_rom(void) * 0xffe0(0000): 2MB * 0xffc0(0000): 4MB */ - pci_write_config16(dev, 0x6c, 0xffc0); /* 4 MB */ + pci_write_config16(dev, 0x6c, 0x10000 - (CONFIG_COREBOOT_ROMSIZE_KB >> 6)); /* Enable LPC ROM range end at 0xffff(ffff). */ pci_write_config16(dev, 0x6e, 0xffff); }