1. 26 7月, 2009 3 次提交
    • A
      bdc873ea
    • M
      Add AVR32 LCD support · 716ece1d
      Mark Jackson 提交于
      This patch adds support for the AVR32 LCD controller.  This patch is
      based off the latest u-boot-video.
      
      A quick summary of what's going on:-
      
      Enable LCDC pixel clock
      Enable LCDC port pins
      Add framebuffer pointer to global_data struct
      Allocate framebuffer
      
      To use the new code, update your board config to include something like
      this:-
      
      #define CONFIG_LCD			1
      
      #if defined(CONFIG_LCD)
      #define CONFIG_CMD_BMP
      #define CONFIG_ATMEL_LCD		1
      #define LCD_BPP				LCD_COLOR16
      #define CONFIG_BMP_16BPP		1
      #define CONFIG_FB_ADDR			0x10600000
      #define CONFIG_WHITE_ON_BLACK		1
      #define CONFIG_VIDEO_BMP_GZIP 		1
      #define CONFIG_SYS_VIDEO_LOGO_MAX_SIZE		262144
      #define CONFIG_ATMEL_LCD_BGR555		1
      #define CONFIG_SYS_CONSOLE_IS_IN_ENV	1
      #define CONFIG_SPLASH_SCREEN		1
      #endif
      
      The standard U-Boot BMP and Splash-screen features should just work.
      Signed-off-by: NMark Jackson <mpfj@mimc.co.uk>
      [agust@denx.de: fixed some style issues]
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      716ece1d
    • A
      video: move extern declarations from C to headers · 6111722a
      Alessandro Rubini 提交于
      This moves some extern declaration from lcd.c to lcd.h, removing
      unneeded ifdef around a pair of them.  Additionally, since
      gunzip_bmp() was declared static in cmd_bmp.c but extern in lcd.c, I
      removed the static.  The extra "#include <lcd.h>" in cmd_bmp.c is
      added to ensure the header is consistent with the source.
      
      This has been compile-tested on both ARM (at91 boards) and PowerPC
      (HH405_config, TQM823L_LCD_config, mcc200_config), to test all use
      combinations.
      Signed-off-by: NAlessandro Rubini <rubini@gnudd.it>
      [agust@denx.de: removed gunzip_bmp() fixes as commit c01171ea did it]
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      6111722a
  2. 24 7月, 2009 15 次提交
  3. 23 7月, 2009 22 次提交