Skip to content
Snippets Groups Projects
  1. Apr 30, 2011
    • Mike Frysinger's avatar
      zlib: split up to match original source tree · e89516f0
      Mike Frysinger authored
      
      While looking to upgrade to zlib-1.2.5, the current mondo merge of
      multiple files into a single was making things way more difficult
      than it should have been.  Hard to pick out what has been changed
      to port it to U-Boot, been removed as useless, and bug fixes added
      after the fact.
      
      So split the single file up into the original file names, and merge
      non-essential changes back from the original tree (for some reason,
      style in code in a bunch of places was changed to U-Boot style even
      though this isn't "U-Boot" code).
      
      The original build style is retained -- we have a single zlib.c that
      includes all the other files, and that is the only file we compile.
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      e89516f0
  2. Apr 29, 2011
  3. Apr 28, 2011
    • Wolfgang Denk's avatar
    • Wolfgang Denk's avatar
      34d9cb5e
    • Timur Tabi's avatar
      powerpc: use 'video-mode' environment variable to configure DIU · ba8e76bd
      Timur Tabi authored
      
      Use the 'video-mode' environment variable (for Freescale chips that have a
      DIU display controller) to designate the full video configuration.  Previously,
      the DIU driver used the 'monitor' variable, and it was used only to determine
      the output video port.
      
      The old definition of the "monitor" environment variable only determines
      which video port to use for output.  This variable was set to a number (0,
      1, or sometimes 2) to specify a DVI, LVDS, or Dual-LVDS port.  The
      resolution was hard-coded into board-specific code.  The Linux command-line
      arguments needed to be hard-coded to the proper video definition string.
      
      Signed-off-by: default avatarTimur Tabi <timur@freescale.com>
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      ba8e76bd
    • Timur Tabi's avatar
      video: parse the video-mode environment variable · a5dbdc81
      Timur Tabi authored
      
      Add function video_get_video_mode(), which parses the "video-mode" environment
      variable and returns each of its components.  The format matches the video=
      command-line option used for Linux:
      
      	video-mode=<driver>:<xres>x<yres>-<depth>@<freq><,option=string>
      
      	<driver> The video driver, ignored by U-Boot
      	<xres> The X resolution (in pixels) to use.
      	<yres> The Y resolution (in pixels) to use.
      	<depth> The color depth (in bits) to use.
      	<freq> The frequency (in Hz) to use.
      	<options> A comma-separated list of device-specific options
      
      Signed-off-by: default avatarTimur Tabi <timur@freescale.com>
      a5dbdc81
    • Anatolij Gustschin's avatar
      cfb_console: fix RLE bitmap drawing code · 74446b63
      Anatolij Gustschin authored
      
      There seems to be tools producing incorrect 'end of bitmap data'
      markers '0100' in a RLE bitmap. Drawing such bitmaps can result
      in overwriting memory above the frame buffer. E.g. on MPC5121e
      based boards this memory can contain U-Boot environment.
      
      We may not rely on the correct end of bitmap data marker 0001
      only, but also have to check whether we are going to draw a
      valid frame buffer scan line.
      
      The patch provides a fix by maintaining a pixel counter
      which is incremented by the amount of pixels we are going
      to draw. If the counter exceeds frame buffer pixels limit
      we stop the drawing with the error message.
      
      Reported-by: default avatarMichael Weiss <michael.weiss@ifm.com>
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      Tested-by: default avatarAnatolij Gustschin <agust@denx.de>
      74446b63
    • Grant Likely's avatar
      Add CONFIG_OF_LIBFDT to more boards. · 2fa8ca98
      Grant Likely authored
      
      The following boards gain device tree support with this patch:
      
      ca9x4_ct_vxp - Versatile Express
      
      i.mx5 boards:
      efikamx
      mx51evk
      mx53evk
      
      OMAP boards:
      devkit8000
      igep0020
      igep0030
      omap3_overo
      omap3_pandora
      omap4_sdp3430
      omap3_zoom1
      omap3_zoom2
      omap4_panda
      omap4_sdp4430
      
      Tegra boards:
      Harmony
      
      Signed-off-by: default avatarGrant Likely <grant.likely@linaro.org>
      2fa8ca98
Loading