Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

s3cfb framebuffer: custom boot logo

Change-Id: I690db6ad27f805a0ececa997eecf652ad1a9e028
  • Loading branch information...
commit 6f483f665f669ee4c3635dcb6ecfe804a6166bb0 1 parent 21abf50
@jt1134 authored
View
99,332 drivers/video/samsung/logo_rgb24_wvga_portrait.h
99,332 additions, 0 deletions not shown
View
9 drivers/video/samsung/s3cfb.c
@@ -60,6 +60,7 @@ static int show_progress = 1;
#endif
#if defined(CONFIG_MACH_P1) || defined(CONFIG_MACH_HERRING)
+#include "logo_rgb24_wvga_portrait.h"
extern unsigned int HWREV;
#endif
@@ -178,9 +179,11 @@ MODULE_PARM_DESC(bootloaderfb, "Address of booting logo image in Bootloader");
static int s3cfb_draw_logo(struct fb_info *fb)
{
- memcpy(fb->screen_base, \
- phys_to_virt(LOGO_MEM_BASE), LOGO_MEM_SIZE);
-
+ if (readl(S5P_INFORM5)) //LPM_CHARGING mode
+ memcpy(fb->screen_base, charging, fb->var.yres * fb->fix.line_length);
+ else
+ memcpy(fb->screen_base, LOGO_RGB24, fb->var.yres * fb->fix.line_length);
+
return 0;
}
Please sign in to comment.
Something went wrong with that request. Please try again.