fb: use CONFIG_FB_ADDR config
authorMinkyu Kang <mk7.kang@samsung.com>
Tue, 18 Jan 2011 05:10:28 +0000 (14:10 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Tue, 18 Jan 2011 05:10:28 +0000 (14:10 +0900)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/f1_c110/f1.c
board/samsung/universal_c100/universal.c
board/samsung/universal_c110/universal.c
board/samsung/universal_c210/universal.c
include/configs/s5pc100_universal.h
include/configs/s5pc110_f1.h
include/configs/s5pc110_universal.h
include/configs/s5pc210_universal.h

index 92bc557..43ee29e 100644 (file)
@@ -56,7 +56,6 @@ DECLARE_GLOBAL_DATA_PTR;
 static unsigned int board_rev;
 static unsigned int battery_soc;
 static struct s5pc110_gpio *gpio;
-extern vidinfo_t panel_info;
 
 enum {
        I2C_2,
@@ -942,17 +941,6 @@ int board_init(void)
        /* Set Initial global variables */
        gpio = (struct s5pc110_gpio *)samsung_get_base_gpio();
 
-#ifdef CONFIG_LCD
-       /*
-        * set reserved memory region for framebuffer.
-        *
-        * this region wouldn't be rewrited by kernel so
-        * could avoid nosie screen filled by garbages
-        * after hibernation resume has been completed.
-        */
-       gd->fb_base = CONFIG_FB_RESERVED_MEM;
-#endif
-
        /* Check H/W Revision */
        check_hw_revision();
 
index 9fd9819..e2deff2 100644 (file)
@@ -2458,17 +2458,6 @@ int board_init(void)
        gd->bd->bi_arch_number = MACH_TYPE_AQUILA;
        gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
 
-#ifdef CONFIG_LCD
-       /*
-        * set reserved memory region for framebuffer.
-        *
-        * this region wouldn't be rewrited by kernel so
-        * could avoid nosie screen filled by garbages
-        * after hibernation resume has been completed.
-        */
-       gd->fb_base = CONFIG_FB_RESERVED_MEM;
-#endif
-
        /* Check H/W Revision */
        check_hw_revision();
 
index ab34f43..8d85e2c 100644 (file)
@@ -60,7 +60,6 @@ static unsigned int arch_number;
 static unsigned int board_rev;
 static unsigned int battery_soc;
 static struct s5pc110_gpio *gpio;
-extern vidinfo_t panel_info;
 
 enum {
        I2C_2,
@@ -2613,17 +2612,6 @@ int board_init(void)
        /* Set Initial global variables */
        gpio = (struct s5pc110_gpio *)samsung_get_base_gpio();
 
-#ifdef CONFIG_LCD
-       /*
-        * set reserved memory region for framebuffer.
-        *
-        * this region wouldn't be rewrited by kernel so
-        * could avoid nosie screen filled by garbages
-        * after hibernation resume has been completed.
-        */
-       gd->fb_base = CONFIG_FB_RESERVED_MEM;
-#endif
-
        /* Check H/W Revision */
        check_hw_revision();
 
@@ -2639,11 +2627,6 @@ int dram_init(void)
 {
        gd->ram_size = PHYS_SDRAM_1_SIZE;
 
-#ifdef CONFIG_LCD
-       /* Initialize the panel info */
-       memset(&panel_info, 0x0, sizeof(panel_info));
-#endif
-
        return 0;
 }
 
index 366d1cf..a5223c2 100644 (file)
@@ -44,7 +44,6 @@ static struct s5pc210_gpio_part2 *gpio2;
 
 static unsigned int battery_soc;
 static unsigned int board_rev;
-extern vidinfo_t panel_info;
 
 u32 get_board_rev(void)
 {
@@ -181,17 +180,6 @@ int board_init(void)
        gd->bd->bi_arch_number = MACH_TYPE;
        gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
 
-#ifdef CONFIG_LCD
-       /*
-        * set reserved memory region for framebuffer.
-        *
-        * this region wouldn't be rewrited by kernel so
-        * could avoid nosie screen filled by garbages
-        * after hibernation resume has been completed.
-        */
-       gd->fb_base = CONFIG_FB_RESERVED_MEM;
-#endif
-
        check_hw_revision();
 
        return 0;
@@ -213,11 +201,6 @@ int dram_init(void)
        /* Reset on fsa9480 */
        check_micro_usb(1);
 
-#ifdef CONFIG_LCD
-       /* Initialize the panel info */
-       memset(&panel_info, 0x0, sizeof(panel_info));
-#endif
-
        return 0;
 }
 
index acc05ec..3283132 100644 (file)
 /* LCD */
 #if 1          /* For LCD test */
 #define CONFIG_LCD             1
-#define CONFIG_FB_RESERVED_MEM 0x42504000
+#define CONFIG_FB_ADDR         0x42504000
 #define CONFIG_S5PC1XXFB       1
 #define CONFIG_DSIM            1
 #define CONFIG_S6E63M0         1
index 54201f6..fe61dcb 100644 (file)
 /* LCD */
 #if 0          /* For LCD test */
 #define CONFIG_LCD             1
-#define CONFIG_FB_RESERVED_MEM 0x42504000
+#define CONFIG_FB_ADDR         0x42504000
 #define CONFIG_S5PC1XXFB       1
 #define CONFIG_DSIM            1
 #define CONFIG_S6E63M0         1
index 1dcde3e..99eda4d 100644 (file)
 /* LCD */
 #if 1          /* For LCD test */
 #define CONFIG_LCD             1
-#define CONFIG_FB_RESERVED_MEM 0x42504000
+#define CONFIG_FB_ADDR         0x42504000
 #define CONFIG_S5PC1XXFB       1
 #define CONFIG_DSIM            1
 #define CONFIG_S6E63M0         1
index a587559..2f0666b 100644 (file)
 /* LCD */
 #if 1
 #define CONFIG_LCD             1
-#define CONFIG_FB_RESERVED_MEM 0x52504000
+#define CONFIG_FB_ADDR         0x52504000
 #define CONFIG_S5PC1XXFB       1
 #define CONFIG_LD9040          1
 #define CONFIG_DSIM            1