From: Heiko Schocher Date: Sat, 3 Aug 2013 05:22:51 +0000 (+0200) Subject: video, da8xx-fb: show fb addr in bdinfo X-Git-Tag: v2013.10-rc1~35^2~6 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4e0236265cf9ed2c265a01d943fa8bcb3cbb09d9;p=oweals%2Fu-boot.git video, da8xx-fb: show fb addr in bdinfo without this patch the bdinfo command shows: U-Boot# bd arch_number = 0x000010DC [...] sp start = 0x8EF32F20 FB base = 0x00000000 with this patch it shows the address where the framebuffer for this video driver start: arch_number = 0x000010DC [...] sp start = 0x8EF32F20 FB base = 0x8EF3C788 Signed-off-by: Heiko Schocher Cc: Anatolij Gustschin Cc: Tom Rini Acked-by: Tom Rini --- diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index b0bde2d7ae..3a5f325cd3 100644 --- a/drivers/video/da8xx-fb.c +++ b/drivers/video/da8xx-fb.c @@ -959,6 +959,7 @@ void *video_hw_init(void) printf("GLCD: malloc for frame buffer failed\n"); goto err_release_fb; } + gd->fb_base = (int)par->vram_virt; gpanel.frameAdrs = (unsigned int)par->vram_virt; da8xx_fb_info->screen_base = (char *) par->vram_virt;