From 1a77fd3e369d9330b9abf04ac6b0d804a11e1e3e Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Wed, 5 Oct 2016 18:40:51 +0200 Subject: northbridge/amd/lx: Remove commented code Change-Id: I37c1674ee380936aba797e24897593fcca3b0269 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/16891 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/northbridge/amd/lx/northbridge.c | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'src/northbridge/amd/lx/northbridge.c') diff --git a/src/northbridge/amd/lx/northbridge.c b/src/northbridge/amd/lx/northbridge.c index 4b6090f1e5..f0304becef 100644 --- a/src/northbridge/amd/lx/northbridge.c +++ b/src/northbridge/amd/lx/northbridge.c @@ -293,37 +293,17 @@ static void enable_shadow(device_t dev) static void northbridge_init(device_t dev) { - //msr_t msr; printk(BIOS_SPEW, ">> Entering northbridge.c: %s\n", __func__); enable_shadow(dev); - /* - * Swiss cheese - */ - //msr = rdmsr(MSR_GLIU0_SHADOW); - //msr.hi |= 0x3; - //msr.lo |= 0x30000; - - //printk(BIOS_DEBUG, "MSR 0x%08X is now 0x%08X:0x%08X\n", MSR_GLIU0_SHADOW, msr.hi, msr.lo); - //printk(BIOS_DEBUG, "MSR 0x%08X is now 0x%08X:0x%08X\n", MSR_GLIU1_SHADOW, msr.hi, msr.lo); } static void northbridge_set_resources(struct device *dev) { uint8_t line; -#if 0 - struct resource *res; - for (res = dev->resource_list; res; res = res->next) { - - // andrei: do not change the base address, it will make the VSA virtual registers unusable - //pci_set_resource(dev, res); - // FIXME: static allocation may conflict with dynamic mappings! - } -#endif - struct bus *bus; for (bus = dev->link_list; bus; bus = bus->next) { if (bus->children) { @@ -400,12 +380,8 @@ static void pci_domain_enable(device_t dev) cpubug(); chipsetinit(); - // print_conf(); - do_vsmbios(); // do the magic stuff here, so prepare your tambourine;) - // print_conf(); - graphics_init(); } -- cgit v1.2.3