summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2013-08-03 05:22:51 (GMT)
committerAnatolij Gustschin <agust@denx.de>2013-08-10 08:47:48 (GMT)
commit4e0236265cf9ed2c265a01d943fa8bcb3cbb09d9 (patch)
treed3589afbc138f56232ac73cacdd51325749bf7ab /drivers
parent765f2f083fefbfc1e8fb4ef5e4f32d254b54ed16 (diff)
downloadu-boot-4e0236265cf9ed2c265a01d943fa8bcb3cbb09d9.tar.xz
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 <hs@denx.de> Cc: Anatolij Gustschin <agust@denx.de> Cc: Tom Rini <trini@ti.com> Acked-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/da8xx-fb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c
index b0bde2d..3a5f325 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;