static unsigned int board_rev;
static unsigned int battery_soc;
static struct s5pc110_gpio *gpio;
-extern vidinfo_t panel_info;
enum {
I2C_2,
/* 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();
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();
static unsigned int board_rev;
static unsigned int battery_soc;
static struct s5pc110_gpio *gpio;
-extern vidinfo_t panel_info;
enum {
I2C_2,
/* 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();
{
gd->ram_size = PHYS_SDRAM_1_SIZE;
-#ifdef CONFIG_LCD
- /* Initialize the panel info */
- memset(&panel_info, 0x0, sizeof(panel_info));
-#endif
-
return 0;
}
static unsigned int battery_soc;
static unsigned int board_rev;
-extern vidinfo_t panel_info;
u32 get_board_rev(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;
/* Reset on fsa9480 */
check_micro_usb(1);
-#ifdef CONFIG_LCD
- /* Initialize the panel info */
- memset(&panel_info, 0x0, sizeof(panel_info));
-#endif
-
return 0;
}
/* 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
/* 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
/* 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
/* 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