This patch unifies the use of config options in v2 to all start with CONFIG_
[coreboot.git] / src / mainboard / digitallogic / msm586seg / mainboard.c
index 63cf2884d2839bc3d30c95391f167befb1bfa467..b8f2150e78433e91a65f6a59c3b13070addef5aa 100644 (file)
@@ -44,7 +44,7 @@ static void enable_dev(struct device *dev) {
         */
 
        /* currently, nothing in the device to use, so ignore it. */
-       printk_err("digital logic msm586 seg ENTER %s\n", __FUNCTION__);
+       printk_err("digital logic msm586 seg ENTER %s\n", __func__);
 
 
        /* from fuctory bios */
@@ -93,7 +93,7 @@ static void enable_dev(struct device *dev) {
        mmcr->sysarb.prictl = 0xc0000f0f;
        /* this is bios setting, depends on sysarb above */
        mmcr->hostbridge.ctl = 0x108;
-       printk_err("digital logic msm586 seg EXIT %s\n", __FUNCTION__);
+       printk_err("digital logic msm586 seg EXIT %s\n", __func__);
 
        /* pio */
        mmcr->pio.data31_16 = 0xffbf;
@@ -137,12 +137,12 @@ static void enable_dev(struct device *dev) {
        /* hack for IDIOTIC need to fix rom_start */
        printk_err("Patching rom_start due to sc520 limits\n");
        rom_start = 0x2000000 + 0x40000;
-       rom_end = rom_start + PAYLOAD_SIZE - 1;
+       rom_end = rom_start + CONFIG_PAYLOAD_SIZE - 1;
 
        
 }
-struct chip_operations mainboard_digitallogic_msm586seg_ops = {
-       CHIP_NAME("DIGITAL-LOGIC MSM586SEG mainboard")
+struct chip_operations mainboard_ops = {
+       CHIP_NAME("DIGITAL-LOGIC MSM586SEG Mainboard")
        .enable_dev = enable_dev
 };