[LinuxBIOS] r2900 - in trunk/LinuxBIOSv2/src/northbridge/intel: e7520 e7525 i440bx i82810
svn at openbios.org
svn at openbios.org
Sat Oct 27 21:45:49 CEST 2007
Author: uwe
Date: 2007-10-27 21:45:49 +0200 (Sat, 27 Oct 2007)
New Revision: 2900
Modified:
trunk/LinuxBIOSv2/src/northbridge/intel/e7520/e7520.h
trunk/LinuxBIOSv2/src/northbridge/intel/e7525/e7525.h
trunk/LinuxBIOSv2/src/northbridge/intel/i440bx/i440bx.h
trunk/LinuxBIOSv2/src/northbridge/intel/i440bx/raminit.c
trunk/LinuxBIOSv2/src/northbridge/intel/i82810/i82810.h
Log:
Drop duplicated and unneeded #defines from some northbridges (trivial).
This is generic PCI stuff, not nothbridge-specific in any way.
The respective #defines are already present in src/include/device/pci_def.h.
Abuild-tested, so shouldn't break anything.
Signed-off-by: Uwe Hermann <uwe at hermann-uwe.de>
Acked-by: Uwe Hermann <uwe at hermann-uwe.de>
Modified: trunk/LinuxBIOSv2/src/northbridge/intel/e7520/e7520.h
===================================================================
--- trunk/LinuxBIOSv2/src/northbridge/intel/e7520/e7520.h 2007-10-26 14:57:46 UTC (rev 2899)
+++ trunk/LinuxBIOSv2/src/northbridge/intel/e7520/e7520.h 2007-10-27 19:45:49 UTC (rev 2900)
@@ -1,8 +1,3 @@
-#define VID 0X00
-#define DID 0X02
-#define PCICMD 0X04
-#define PCISTS 0X06
-#define RID 0X08
#define IURBASE 0X14
#define MCHCFG0 0X50
#define MCHSCRB 0X52
Modified: trunk/LinuxBIOSv2/src/northbridge/intel/e7525/e7525.h
===================================================================
--- trunk/LinuxBIOSv2/src/northbridge/intel/e7525/e7525.h 2007-10-26 14:57:46 UTC (rev 2899)
+++ trunk/LinuxBIOSv2/src/northbridge/intel/e7525/e7525.h 2007-10-27 19:45:49 UTC (rev 2900)
@@ -1,8 +1,3 @@
-#define VID 0X00
-#define DID 0X02
-#define PCICMD 0X04
-#define PCISTS 0X06
-#define RID 0X08
#define IURBASE 0X14
#define MCHCFG0 0X50
#define MCHSCRB 0X52
Modified: trunk/LinuxBIOSv2/src/northbridge/intel/i440bx/i440bx.h
===================================================================
--- trunk/LinuxBIOSv2/src/northbridge/intel/i440bx/i440bx.h 2007-10-26 14:57:46 UTC (rev 2899)
+++ trunk/LinuxBIOSv2/src/northbridge/intel/i440bx/i440bx.h 2007-10-27 19:45:49 UTC (rev 2900)
@@ -32,19 +32,6 @@
* Any addresses between 0x00 and 0xff not listed below are either
* Reserved or Intel Reserved and should not be touched.
*/
-#define VID 0x00 /* Vendor Identification (0x8086). */
-#define DID 0x02 /* Device Identification (0x7190/0x7192). */
-#define PCICMD 0x04 /* PCI Command Register (0x006). */
-#define PCISTS 0x06 /* PCI Status Register (0x0210/0x0200). */
-#define RID 0x08 /* Revision Identification (0x00/0x01/0x02). */
-#define SUBC 0x0a /* Sub-Class Code (0x00). */
-#define BCC 0x0b /* Base Class Code (0x06). */
-#define MLT 0x0d /* Master Latency Timer (0x00). */
-#define HDR 0x0e /* Header Type (0x00). */
-#define APBASE 0x10 /* Aperture Base Configuration (0x00000008). */
-#define SVID 0x2c /* Subsystem Vendor Identification (0x0000). */
-#define SID 0x2e /* Subsystem Identification (0x0000). */
-#define CAPPTR 0x34 /* Capabilities Pointer (0xa0/0x00). */
#define NBXCFG 0x50 /* 440BX Configuration (0x0000:00S0_0000_000S_0S00b). */
#define DRAMC 0x57 /* DRAM Control (00S0_0000b). */
#define DRAMT 0x58 /* DRAM Timing (0x03). */
Modified: trunk/LinuxBIOSv2/src/northbridge/intel/i440bx/raminit.c
===================================================================
--- trunk/LinuxBIOSv2/src/northbridge/intel/i440bx/raminit.c 2007-10-26 14:57:46 UTC (rev 2899)
+++ trunk/LinuxBIOSv2/src/northbridge/intel/i440bx/raminit.c 2007-10-27 19:45:49 UTC (rev 2900)
@@ -503,7 +503,7 @@
pci_write_config8(ctrl->d0, PMCR, 0x10);
/* TODO? */
- pci_write_config8(ctrl->d0, MLT, 0x40);
+ pci_write_config8(ctrl->d0, PCI_LATENCY_TIMER, 0x40);
pci_write_config8(ctrl->d0, DRAMT, 0x03);
pci_write_config8(ctrl->d0, MBSC, 0x03);
pci_write_config8(ctrl->d0, SCRR, 0x38);
Modified: trunk/LinuxBIOSv2/src/northbridge/intel/i82810/i82810.h
===================================================================
--- trunk/LinuxBIOSv2/src/northbridge/intel/i82810/i82810.h 2007-10-26 14:57:46 UTC (rev 2899)
+++ trunk/LinuxBIOSv2/src/northbridge/intel/i82810/i82810.h 2007-10-27 19:45:49 UTC (rev 2900)
@@ -34,19 +34,6 @@
* should not be touched.
*/
-#define VID 0x00 /* Vendor Identification */
-#define DID 0x02 /* Device Identification */
-#define PCICMD 0x04 /* PCI Command Register */
-#define PCISTS 0x06 /* PCI Status Register */
-#define RID 0x08 /* Revision Identification */
-#define SUBC 0x0a /* Sub-Class Code */
-#define BCC 0x0b /* Base Class Code */
-#define MLT 0x0d /* Master Latency Timer */
-#define HDR 0x0e /* Header Type */
-#define SVID 0x2c /* Subsystem Vendor Identification */
-#define SID 0x2e /* Subsystem Identification */
-#define CAPPTR 0x34 /* Capabilities Pointer */
-
/* TODO: Descriptions. */
#define GMCHCFG 0x50
#define PAM 0x51
More information about the coreboot
mailing list