[OpenBIOS] [commit] r780 - trunk/openbios-devel/arch/sparc64

repository service svn at openbios.org
Wed May 26 21:10:26 CEST 2010


Author: blueswirl
Date: Wed May 26 21:10:25 2010
New Revision: 780
URL: http://tracker.coreboot.org/trac/openbios/changeset/780

Log:
sparc64: fix pci host bridge offsets

Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

Modified:
   trunk/openbios-devel/arch/sparc64/openbios.c

Modified: trunk/openbios-devel/arch/sparc64/openbios.c
==============================================================================
--- trunk/openbios-devel/arch/sparc64/openbios.c	Wed May 26 21:10:23 2010	(r779)
+++ trunk/openbios-devel/arch/sparc64/openbios.c	Wed May 26 21:10:25 2010	(r780)
@@ -60,13 +60,13 @@
             .name = "SUNW,sabre",
             .vendor_id = PCI_VENDOR_ID_SUN,
             .device_id = PCI_DEVICE_ID_SUN_SABRE,
-            .cfg_addr = APB_SPECIAL_BASE + 0x1000000ULL,
-            .cfg_data = APB_MEM_BASE,
-            .cfg_base = 0x80000000ULL,
-            .cfg_len = 0,
-            .mem_base = APB_MEM_BASE + 0x400000ULL,
+            .cfg_addr = APB_SPECIAL_BASE + 0x1000000ULL, // PCI bus configuration space
+            .cfg_data = APB_MEM_BASE,                    // PCI bus memory space
+            .cfg_base = APB_SPECIAL_BASE,
+            .cfg_len = 0x2000000,
+            .mem_base = APB_MEM_BASE,
             .mem_len = 0x10000000,
-            .io_base = APB_SPECIAL_BASE + 0x2000000ULL,
+            .io_base = APB_SPECIAL_BASE + 0x2000000ULL, // PCI Bus I/O space
             .io_len = 0x10000,
             .irqs = { 0, 1, 2, 3 },
         },



More information about the OpenBIOS mailing list