Revert "s5pc110: fb: moved framebuffer region to reserved one."
authordaeinki <inki.dae@samsung.com>
Fri, 19 Mar 2010 09:12:02 +0000 (18:12 +0900)
committerdaeinki <inki.dae@samsung.com>
Fri, 19 Mar 2010 09:12:02 +0000 (18:12 +0900)
This reverts commit c5ae09fa97700e9e5858db9c87fdddec9832bc93.

board/samsung/universal/universal.c
include/common.h
include/configs/s5pc1xx_universal.h
lib_arm/board.c

index d792640..7c1cf49 100644 (file)
@@ -2174,17 +2174,6 @@ void init_panel_info(vidinfo_t *vid)
 }
 #endif
 
-#ifdef CONFIG_LCD
-void fb_set_reserved_mem(void)
-{
-       unsigned int addr = CONFIG_FB_RESERVED_MEM_BASE;
-
-       lcd_setmem(addr);
-
-       gd->fb_base = addr;
-}
-#endif
-
 static void setup_meminfo(void)
 {
        char meminfo[64] = {0, };
index 7f083a7..1805fda 100644 (file)
@@ -306,10 +306,6 @@ void       pciinfo       (int, int);
 int    misc_init_f   (void);
 int    misc_init_r   (void);
 
-#ifdef CONFIG_LCD
-void fb_set_reserved_mem(void);
-#endif
-
 /* common/exports.c */
 void   jumptable_init(void);
 
index 7e833d5..348de26 100644 (file)
 
 /* LCD */
 #if 1          /* For LCD test */
-#define CONFIG_FB_RESERVED_MEM_BASE    0x42504000
-#define CONFIG_LCD                     1
-#define CONFIG_S5PC1XXFB               1
-#define CONFIG_S6E63M0                 1
-#define CONFIG_S6D16A0X                        1
+#define CONFIG_LCD             1
+#define CONFIG_S5PC1XXFB       1
+#define CONFIG_S6E63M0         1
+#define CONFIG_S6D16A0X                1
 #define CONFIG_CMD_BMP
 #endif
 
index da989c6..f5660a9 100644 (file)
@@ -318,8 +318,6 @@ void start_armboot (void)
 #endif /* CONFIG_VFD */
 
 #ifdef CONFIG_LCD
-       fb_set_reserved_mem();
-
        /* board init may have inited fb_base */
        if (!gd->fb_base) {
 #              ifndef PAGE_SIZE