rename CFG_ macros to CONFIG_SYS
[oweals/u-boot.git] / board / freescale / mpc8610hpcd / mpc8610hpcd_diu.c
index 4db941ced00a12bf7d24b2eea7a2140ac7bcefa9..cd25d4aa867870313ac88b318e92b2da67da90ff 100644 (file)
@@ -43,7 +43,7 @@ static int xres, yres;
 
 void diu_set_pixel_clock(unsigned int pixclock)
 {
-       volatile immap_t *immap = (immap_t *)CFG_IMMR;
+       volatile immap_t *immap = (immap_t *)CONFIG_SYS_IMMR;
        volatile ccsr_gur_t *gur = &immap->im_gur;
        volatile unsigned int *guts_clkdvdr = &gur->clkdvdr;
        unsigned long speed_ccb, temp, pixval;
@@ -137,7 +137,7 @@ int mpc8610diu_init_show_bmp(cmd_tbl_t *cmdtp,
 }
 
 U_BOOT_CMD(
-       diufb, CFG_MAXARGS, 1, mpc8610diu_init_show_bmp,
+       diufb, CONFIG_SYS_MAXARGS, 1, mpc8610diu_init_show_bmp,
        "diufb init | addr - Init or Display BMP file\n",
        "init\n    - initialize DIU\n"
        "addr\n    - display bmp at address 'addr'\n"