]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
video, da8xx-fb: show fb addr in bdinfo
authorHeiko Schocher <hs@denx.de>
Sat, 3 Aug 2013 05:22:51 +0000 (07:22 +0200)
committerAnatolij Gustschin <agust@denx.de>
Sat, 10 Aug 2013 08:47:48 +0000 (10:47 +0200)
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 <hs@denx.de>
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Tom Rini <trini@ti.com>
Acked-by: Tom Rini <trini@ti.com>
drivers/video/da8xx-fb.c

index b0bde2d7ae3fabf2570914f625f5aba30a19f518..3a5f325cd30b97337c77280d5dc8877d2c86fceb 100644 (file)
@@ -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;