Fix/drop some obsolete comments,
[coreboot.git] / src / northbridge / amd / lx / grphinit.c
index 1312d78f8476d494d1f30e8e18159f1a738e3485..c6ab4df93ab389618e0a6b28ae51d70e4d3248c7 100644 (file)
@@ -35,7 +35,7 @@ struct msrinit {
 };
 
 static const struct msrinit geodelx_vga_msr[] = {
-       /* Enable the GLIU Memory routing to the hardware 
+       /* Enable the GLIU Memory routing to the hardware
        * PDID1 : Port 4, GLIU0
        * PBASE : 0x000A0
        * PMASK : 0xFFFE0
@@ -70,10 +70,10 @@ void graphics_init(void)
        uint16_t wClassIndex, wData, res;
 
        /* SoftVG initialization */
-       printk_debug("Graphics init...\n");
-   
+       printk(BIOS_DEBUG, "Graphics init...\n");
+
        geodelx_vga_msr_init();
-   
+
        /* Call SoftVG with the main configuration parameters. */
        /* NOTE: SoftVG expects the memory size to be given in 2MB blocks */
 
@@ -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
         */
 
@@ -94,10 +94,10 @@ void graphics_init(void)
         *   so we can add the real value in megabytes
         */
 
-       wData = VG_CFG_DRIVER | VG_CFG_PRIORITY | 
+       wData = VG_CFG_DRIVER | VG_CFG_PRIORITY |
                        VG_CFG_DSCRT | (CONFIG_VIDEO_MB & VG_MEM_MASK);
        vrWrite(wClassIndex, wData);
 
        res = vrRead(wClassIndex);
-       printk_debug("VRC_VG value: 0x%04x\n", res);
+       printk(BIOS_DEBUG, "VRC_VG value: 0x%04x\n", res);
 }