Fix/drop some obsolete comments,
authorUwe Hermann <uwe@hermann-uwe.de>
Thu, 18 Nov 2010 20:12:13 +0000 (20:12 +0000)
committerUwe Hermann <uwe@hermann-uwe.de>
Thu, 18 Nov 2010 20:12:13 +0000 (20:12 +0000)
 - s/Options.lb/devicetree.cb/

 - s/Config.lb/devicetree.cb/

 - s/cache_as_ram_auto.c/romstage.c/

 - h8dmr_fam10/README: Drop obsolete comment, we have mc_patch_01000086.h in
   the tree now.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6095 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

19 files changed:
src/mainboard/amd/mahogany_fam10/spd_addr.h
src/mainboard/amd/norwich/romstage.c
src/mainboard/amd/tilapia_fam10/spd_addr.h
src/mainboard/asus/m4a785-m/spd_addr.h
src/mainboard/iei/kino-780am2-fam10/spd_addr.h
src/mainboard/intel/xe7501devkit/acpi_tables.c
src/mainboard/intel/xe7501devkit/mptable.c
src/mainboard/supermicro/h8dmr_fam10/README
src/mainboard/traverse/geos/romstage.c
src/mainboard/via/epia-m700/acpi_tables.c
src/mainboard/via/epia-n/acpi_tables.c
src/northbridge/amd/amdk8/northbridge.c
src/northbridge/amd/lx/grphinit.c
src/northbridge/intel/i945/early_init.c
src/southbridge/intel/i82801ax/i82801ax_lpc.c
src/southbridge/intel/i82801bx/i82801bx_lpc.c
src/southbridge/intel/i82801gx/i82801gx_ide.c
src/southbridge/intel/i82801gx/i82801gx_sata.c
src/southbridge/intel/i82870/p64h2_ioapic.c

index c87a5995b88490d65e3e2e975d4a2ce8b619f777..489fa3330a9bd4a2649bfa64b5b2d2f16d107dfc 100644 (file)
@@ -19,7 +19,7 @@
 
 /**
  * This file defines the SPD addresses for the mainboard. Must be included in
- * cache_as_ram_auto.c
+ * romstage.c
  */
 
 #define RC00 0
index 841c8a246e6771cbdc2a0851d4ee88a138a81c46..e957d7ea946400edd70282c2f84cbf535f462a46 100644 (file)
@@ -77,7 +77,7 @@ void main(unsigned long bist)
        /* cs5536_disable_internal_uart: disable them for now, set them
         * up later...
         */
-       /* If debug. real setup done in chipset init via Config.lb. */
+       /* If debug. real setup done in chipset init via devicetree.cb. */
        cs5536_setup_onchipuart(1);
        mb_gpio_init();
        uart_init();
index c87a5995b88490d65e3e2e975d4a2ce8b619f777..489fa3330a9bd4a2649bfa64b5b2d2f16d107dfc 100644 (file)
@@ -19,7 +19,7 @@
 
 /**
  * This file defines the SPD addresses for the mainboard. Must be included in
- * cache_as_ram_auto.c
+ * romstage.c
  */
 
 #define RC00 0
index c87a5995b88490d65e3e2e975d4a2ce8b619f777..489fa3330a9bd4a2649bfa64b5b2d2f16d107dfc 100644 (file)
@@ -19,7 +19,7 @@
 
 /**
  * This file defines the SPD addresses for the mainboard. Must be included in
- * cache_as_ram_auto.c
+ * romstage.c
  */
 
 #define RC00 0
index c87a5995b88490d65e3e2e975d4a2ce8b619f777..489fa3330a9bd4a2649bfa64b5b2d2f16d107dfc 100644 (file)
@@ -19,7 +19,7 @@
 
 /**
  * This file defines the SPD addresses for the mainboard. Must be included in
- * cache_as_ram_auto.c
+ * romstage.c
  */
 
 #define RC00 0
index 3695bb4dc437823ebaff30394ca0df6fde81f838..9324144026acbfc6a3a899f96f35d7a9bacf5068 100644 (file)
@@ -55,7 +55,7 @@ unsigned long acpi_fill_madt(unsigned long current)
        // P64H2#2 Bus A IOAPIC
        dev = dev_find_slot(PCI_BUS_E7501_HI_B, PCI_DEVFN(30, 0));
        if (!dev)
-               BUG();          // Config.lb error?
+               BUG();
        res = find_resource(dev, PCI_BASE_ADDRESS_0);
        current += acpi_create_madt_ioapic((acpi_madt_ioapic_t *)current, IOAPIC_P64H2_2_BUS_A, res->base, irq_start);
        irq_start += INTEL_IOAPIC_NUM_INTERRUPTS;
@@ -63,7 +63,7 @@ unsigned long acpi_fill_madt(unsigned long current)
        // P64H2#2 Bus B IOAPIC
        dev = dev_find_slot(PCI_BUS_E7501_HI_B, PCI_DEVFN(28, 0));
        if (!dev)
-               BUG();          // Config.lb error?
+               BUG();
        res = find_resource(dev, PCI_BASE_ADDRESS_0);
        current += acpi_create_madt_ioapic((acpi_madt_ioapic_t *)current, IOAPIC_P64H2_2_BUS_B, res->base, irq_start);
        irq_start += INTEL_IOAPIC_NUM_INTERRUPTS;
@@ -72,7 +72,7 @@ unsigned long acpi_fill_madt(unsigned long current)
        // P64H2#1 Bus A IOAPIC
        dev = dev_find_slot(PCI_BUS_E7501_HI_D, PCI_DEVFN(30, 0));
        if (!dev)
-               BUG();          // Config.lb error?
+               BUG();
        res = find_resource(dev, PCI_BASE_ADDRESS_0);
        current += acpi_create_madt_ioapic((acpi_madt_ioapic_t *)current, IOAPIC_P64H2_1_BUS_A, res->base, irq_start);
        irq_start += INTEL_IOAPIC_NUM_INTERRUPTS;
@@ -80,7 +80,7 @@ unsigned long acpi_fill_madt(unsigned long current)
        // P64H2#1 Bus B IOAPIC
        dev = dev_find_slot(PCI_BUS_E7501_HI_D, PCI_DEVFN(28, 0));
        if (!dev)
-               BUG();          // Config.lb error?
+               BUG();
        res = find_resource(dev, PCI_BASE_ADDRESS_0);
        current += acpi_create_madt_ioapic((acpi_madt_ioapic_t *)current, IOAPIC_P64H2_1_BUS_B, res->base, irq_start);
        irq_start += INTEL_IOAPIC_NUM_INTERRUPTS;
index 9279b8485d5f553cc0081a8b0255140c8e3e1500..1a9268061d063a71c4b503299fa5643c82f40e76 100644 (file)
@@ -42,14 +42,14 @@ static void xe7501devkit_register_ioapics(struct mp_config_table *mc)
        // P64H2#2 Bus A IOAPIC
        dev = dev_find_slot(PCI_BUS_E7501_HI_B, PCI_DEVFN(30, 0));
        if (!dev)
-               BUG();          // Config.lb error?
+               BUG();
        res = find_resource(dev, PCI_BASE_ADDRESS_0);
        smp_write_ioapic(mc, IOAPIC_P64H2_2_BUS_A, P64H2_IOAPIC_VERSION, res->base);
 
        // P64H2#2 Bus B IOAPIC
        dev = dev_find_slot(PCI_BUS_E7501_HI_B, PCI_DEVFN(28, 0));
        if (!dev)
-               BUG();          // Config.lb error?
+               BUG();
        res = find_resource(dev, PCI_BASE_ADDRESS_0);
        smp_write_ioapic(mc, IOAPIC_P64H2_2_BUS_B, P64H2_IOAPIC_VERSION, res->base);
 
@@ -57,14 +57,14 @@ static void xe7501devkit_register_ioapics(struct mp_config_table *mc)
        // P64H2#1 Bus A IOAPIC
        dev = dev_find_slot(PCI_BUS_E7501_HI_D, PCI_DEVFN(30, 0));
        if (!dev)
-               BUG();          // Config.lb error?
+               BUG();
        res = find_resource(dev, PCI_BASE_ADDRESS_0);
        smp_write_ioapic(mc, IOAPIC_P64H2_1_BUS_A, P64H2_IOAPIC_VERSION, res->base);
 
        // P64H2#1 Bus B IOAPIC
        dev = dev_find_slot(PCI_BUS_E7501_HI_D, PCI_DEVFN(28, 0));
        if (!dev)
-               BUG();          // Config.lb error?
+               BUG();
        res = find_resource(dev, PCI_BASE_ADDRESS_0);
        smp_write_ioapic(mc, IOAPIC_P64H2_1_BUS_B, P64H2_IOAPIC_VERSION, res->base);
 }
index ce030987cae63b204d635f4fc7b41bcf08b5510a..040c24498cd8217b282ed4fa7455e6b8d874d421 100644 (file)
@@ -2,10 +2,6 @@
 
 There are a number of outstanding issues:
 
-* we don't have the mc_patch_01000086.h CPU ucode file yet which is
-referenced in a comment in src/mainboard/supermicro/h8dmr_fam10/Options.lb.
-AMD has not released it yet. This is not a problem specific to this port.
-
 * I'm seeing toolchain issues. I can't get this tree to compile correctly with
 gcc 4.3 (32 bit) - there is an optimization issue where certain parts of the
 CBFS code execute very slowly. With gcc 3.4 (32 bit) that slowness
index d3832702855accb7f8d3b7a7229ad2ead671533d..d5a00a4cbe247fccffccf9067531865d40389771 100644 (file)
@@ -78,7 +78,7 @@ void main(unsigned long bist)
        /* cs5536_disable_internal_uart: disable them for now, set them
         * up later...
         */
-       /* If debug. real setup done in chipset init via Config.lb. */
+       /* If debug. real setup done in chipset init via devicetree.cb. */
        cs5536_setup_onchipuart(1);
        mb_gpio_init();
        uart_init();
index 414466f4f6d9ba80d1d71aaa53af8d566d06684f..16c0b46b43c1de72d8453fe7e4e06aafc775431a 100644 (file)
@@ -42,9 +42,9 @@ extern u32 wake_vec;
 
 /*
  * These four macros are copied from <arch/smp/mpspec.h>, I have to do this
- * since the "default CONFIG_GENERATE_MP_TABLE = 0" in Options.lb, and also since
+ * since the "CONFIG_GENERATE_MP_TABLE = 0", and also since
  * mainboard/via/... have no mptable.c (so that I can not set
- * CONFIG_GENERATE_MP_TABLE = 1) as many other mainboards.
+ * "CONFIG_GENERATE_MP_TABLE = 1" as many other mainboards.
  * So I have to copy these four to here. acpi_fill_madt() needs this.
  */
 #define MP_IRQ_POLARITY_HIGH   0x1
index 741784e8390342d68c6422447d06d1a49f097406..589e14c60653353b1cb2c1589449d40605173fdf 100644 (file)
 extern const unsigned char AmlCode[];
 
 /*
- * These four macros are copied from <arch/smp/mpspec.h>, I have to do this
- * since the "default CONFIG_GENERATE_MP_TABLE = 0" in Options.lb, and also since
+ * These 8 macros are copied from <arch/smp/mpspec.h>, I have to do this
+ * since the "CONFIG_GENERATE_MP_TABLE = 0", and also since
  * mainboard/via/... have no mptable.c (so that I can not set
- * CONFIG_GENERATE_MP_TABLE = 1) as many other mainboards.
+ * "CONFIG_GENERATE_MP_TABLE = 1" as many other mainboards.
  * So I have to copy these four to here. acpi_fill_madt() needs this.
  */
 #define MP_IRQ_POLARITY_DEFAULT        0x0
index 1f98684c6b07f20039dfa1652e7871ba4eb4dac6..c7bf4919fb5dec28aa886299e5f66c4e87477ea9 100644 (file)
@@ -1,6 +1,6 @@
 /* This should be done by Eric
        2004.12 yhlu add dual core support
-       2005.01 yhlu add support move apic before pci_domain in MB Config.lb
+       2005.01 yhlu add support move apic before pci_domain in MB devicetree.cb
        2005.02 yhlu add e0 memory hole support
        2005.11 yhlu add put sb ht chain on bus 0
 */
index b245eea06207ea3ce3248d5e2c0aa75b7dc97e65..c6ab4df93ab389618e0a6b28ae51d70e4d3248c7 100644 (file)
@@ -85,7 +85,7 @@ void graphics_init(void)
         * Controller Priority Select(11)                       1, Primary
         * Display Select(10:8)                                         0x0, CRT
         * Graphics Memory Size(7:1)                            CONFIG_VIDEO_MB >> 1,
-        *                                                                                      defined in mainboard/../Options.lb
+        *                                                                                      defined in devicetree.cb
         * PLL Reference Clock Bypass(0)                        0, Default
         */
 
index e301f8a019c13d56fe0e0bfc8b488262036aeac1..53d0d8c42c123786fd45a04d520632b75ecd7558 100644 (file)
@@ -570,7 +570,7 @@ static void i945_setup_pci_express_x16(void)
 
        /* Setup SLOTCAP */
        /* TODO: These values are mainboard dependent and should
-        * be set from Config.lb or Options.lb.
+        * be set from devicetree.cb.
         */
        /* NOTE: SLOTCAP becomes RO after the first write! */
        reg32 = pcie_read_config32(PCI_DEV(0, 0x01, 0), 0xb4);
index 46878f8dce0d016df96f47d8efbb8375fdbe4c30..c9404ed3c01a03bc5c04a3992bfec3d442136e58 100644 (file)
@@ -68,7 +68,7 @@ typedef struct southbridge_intel_i82801ax_config config_t;
 /*
  * Use 0x0ef8 for a bitmap to cover all these IRQ's.
  * Use the defined IRQ values above or set mainboard
- * specific IRQ values in your mainboards Config.lb.
+ * specific IRQ values in your devicetree.cb.
  */
 static void i82801ax_enable_apic(struct device *dev)
 {
index c379428c86c478d5382e9eba792e22ab25d423ca..0ff44e605495b33dd6353b82f1abedf80f8ca2ef 100644 (file)
@@ -70,7 +70,7 @@ typedef struct southbridge_intel_i82801bx_config config_t;
 /*
  * Use 0x0ef8 for a bitmap to cover all these IRQ's.
  * Use the defined IRQ values above or set mainboard
- * specific IRQ values in your mainboards Config.lb.
+ * specific IRQ values in your devicetree.cb.
 */
 static void i82801bx_enable_apic(struct device *dev)
 {
index 84b50d6535cd694f05daa63c2184a5bc7445710e..6e05e0d9b5d25c19cc6871799e959af4bcfd63cb 100644 (file)
@@ -37,7 +37,7 @@ static void ide_init(struct device *dev)
 
        printk(BIOS_DEBUG, "i82801gx_ide: initializing... ");
        if (config == NULL) {
-               printk(BIOS_ERR, "\ni82801gx_ide: Not mentioned in mainboard's Config.lb!\n");
+               printk(BIOS_ERR, "\ni82801gx_ide: Not mentioned in devicetree.cb!\n");
                // Trying to set somewhat safe defaults instead of bailing out.
                enable_primary = enable_secondary = 1;
        } else {
index a5be98735c2da23a5290d2866828d405b4c0a521..c3908489ebab312a02ebfe338e1f69f68740104a 100644 (file)
@@ -36,7 +36,7 @@ static void sata_init(struct device *dev)
        printk(BIOS_DEBUG, "i82801gx_sata: initializing...\n");
 
        if (config == NULL) {
-               printk(BIOS_ERR, "i82801gx_sata: error: device not in Config.lb!\n");
+               printk(BIOS_ERR, "i82801gx_sata: error: device not in devicetree.cb!\n");
                return;
        }
 
index 8af57beed7298b4d641beaef05f080b8982de151..6a0f0d222f823eedddb68b3ef5d6406ff21cffeb 100644 (file)
@@ -40,10 +40,10 @@ static void p64h2_ioapic_init(device_t dev)
 
     // A note on IOAPIC addresses:
     //  0 and 1 are used for the local APICs of the dual virtual
-       //      (hyper-threaded) CPUs of physical CPU 0 (mainboard/Config.lb).
+    //  (hyper-threaded) CPUs of physical CPU 0 (devicetree.cb).
     //  6 and 7 are used for the local APICs of the dual virtual
-       //      (hyper-threaded) CPUs of physical CPU 1 (mainboard/Config.lb).
-    //  2 is used for the IOAPIC in the 82801 Southbridge (hard-coded in i82801xx_lpc.c)
+    //  (hyper-threaded) CPUs of physical CPU 1 (devicetree.cb).
+    //  2 is used for the IOAPIC in the 82801 southbridge (hard-coded in i82801xx_lpc.c)
 
     // Map APIC index into APIC ID
     // IDs 3, 4, 5, and 8+ are available (see above note)