diff options
author | Marc Jones <marcj303@gmail.com> | 2011-07-12 23:02:03 -0600 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2011-07-14 00:43:02 +0200 |
commit | 5a91692466d501bde8fab5f9b0dee0a83444ee51 (patch) | |
tree | e09e3757537c7265ba43870ed67e49011cde4a11 /src/southbridge/amd/sb800/bootblock.c | |
parent | 2a561a18deeed436b27cb99cba4b15a4351435a1 (diff) |
Set SB800 ROM decode size based on kconfig.
Change-Id: I46ea26b5534064fe1c7e2ce2b2f12cacf18a4d4d
Signed-off-by: Marc Jones <marcj303@gmail.com>
Reviewed-on: http://review.coreboot.org/94
Tested-by: build bot (Jenkins)
Reviewed-by: Peter Stuge <peter@stuge.se>
Diffstat (limited to 'src/southbridge/amd/sb800/bootblock.c')
-rw-r--r-- | src/southbridge/amd/sb800/bootblock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/amd/sb800/bootblock.c b/src/southbridge/amd/sb800/bootblock.c index 82d80f08a8..18eae24312 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); } |