Ticket #11068: Disable-frame-buffer-for-now.patch

File Disable-frame-buffer-for-now.patch, 1.3 KB (added by arvindsraj, 5 years ago)
  • src/system/boot/platform/u-boot/video.cpp

    From 142f3b5644303e26c94a7a4a33c5d62a4f671eb4 Mon Sep 17 00:00:00 2001
    From: Arvind S Raj <sraj.arvind@gmail.com>
    Date: Fri, 25 Jul 2014 19:15:21 +0530
    Subject: [PATCH] Disable frame buffer for now since it's not essential. Fix
     involves correcting fault when writing to CM_CLKSEL_DSS.
    
    ---
     src/system/boot/platform/u-boot/video.cpp | 5 ++++-
     1 file changed, 4 insertions(+), 1 deletion(-)
    
    diff --git a/src/system/boot/platform/u-boot/video.cpp b/src/system/boot/platform/u-boot/video.cpp
    index f7c4c72..2ceb0ef 100644
    a b platform_init_video(void)  
    110110        gFramebuffer = arch_get_fb_arm_920(0x88000000);
    111111    #elif defined(BOARD_CPU_OMAP3)
    112112        extern ArchFramebuffer *arch_get_fb_arm_omap3(addr_t base);
    113         gFramebuffer = arch_get_fb_arm_omap3(0x88000000);
     113        //TODO: Fix fault when writing to CM_CLKSEL_DSS(0x48004E40) before enabling gFramebuffer.
     114        //At minimum, the argument to arch_get_fb_arm_omap3 should be FB_BASE among other changes.
     115        //gFramebuffer = arch_get_fb_arm_omap3(0x88000000);
     116        gFramebuffer = NULL;
    114117    #elif defined(BOARD_CPU_PXA270)
    115118        ArchFramebuffer *arch_get_fb_arm_pxa270(addr_t base);
    116119        gFramebuffer = arch_get_fb_arm_pxa270(0xA3000000);