Patchwork [16/16] Port persimmon r6594 to e350m1: Cosmetic cleanup

login
register
about
Submitter mbuschman@lucidmachines.com
Date 2011-06-04 06:10:44
Message ID <1307167844-13392-16-git-send-email-mbuschman@lucidmachines.com>
Download mbox | patch
Permalink /patch/3034/
State Accepted
Commit r6636
Headers show

Comments

mbuschman@lucidmachines.com - 2011-06-04 06:10:44
From: Scott Duplichan <scott@notabs.org>

Signed-off-by: Peter Stuge <peter@stuge.se>
---
 src/mainboard/asrock/e350m1/get_bus_conf.c |   18 +-----------------
 1 files changed, 1 insertions(+), 17 deletions(-)

Patch

diff --git a/src/mainboard/asrock/e350m1/get_bus_conf.c b/src/mainboard/asrock/e350m1/get_bus_conf.c
index 5f48498..cc7fb5d 100644
--- a/src/mainboard/asrock/e350m1/get_bus_conf.c
+++ b/src/mainboard/asrock/e350m1/get_bus_conf.c
@@ -42,25 +42,12 @@  u32 pci1234x[] = {
   0x0000ff0,
 };
 
-/*
-* HT Chain device num, actually it is unit id base of every ht device in chain,
-* assume every chain only have 4 ht device at most
-*/
-u32 hcdnx[] = {
-  0x20202020,
-};
-
 u32 bus_type[256];
-
 u32 sbdn_sb800;
 
-//KZ [092110]extern void get_pci1234(void);
-
 static u32 get_bus_conf_done = 0;
 
 
-
-
 void get_bus_conf(void)
 {
   u32 apicid_base;
@@ -139,8 +126,5 @@  void get_bus_conf(void)
   /* I/O APICs:   APIC ID Version State   Address */
   bus_isa = 10;
   apicid_base = CONFIG_MAX_CPUS;
-//#if CONFIG_LOGICAL_CPUS==1
-//  apicid_base = get_apicid_base(1);
-//#endif
-  apicid_sb800 = apicid_base + 0;
+  apicid_sb800 = apicid_base;
 }