Skip to content
Snippets Groups Projects
  1. Aug 12, 2013
    • Christian Gmeienr's avatar
      edid: rename struct member to fix two EDID_* macros · 1dc793dd
      Christian Gmeienr authored
      
      Without this change EDID_DETAILED_TIMING_VSYNC_OFFSET
      and EDID_DETAILED_TIMING_VSYNC_PULSE_WIDTH macros can
      not be used (compile error).
      The fix is quite trivial: rename struct member to the
      expected name.
      
      Signed-off-by: default avatarChristian Gmeiner <christian.gmeiner@gmail.com>
      1dc793dd
    • Marek Vasut's avatar
      video: Add small 4x6 font from Linux · 78556631
      Marek Vasut authored
      
      This font is based on Linux drivers/video/console/font_mini_4x6.c as of commit:
      
      commit bcfbeecea11c15e243f076d37d637c2598aff4fe
      Author: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
      Date:   Sun Aug 12 15:05:10 2012 +0000
      
          drivers: console: font_: Change a glyph from "broken bar" to "vertical line"
      
      I removed these lines as they are useless in U-Boot:
        #include <linux/font.h>
        #define FONTDATAMAX 1536
        Whole "const struct font_desc font_mini_4x6" block
      
      This patch also adds a new configuration option to select this smaller font,
      CONFIG_VIDEO_FONT_4X6 , but this is disabled by default. The default setting
      is the regular "large" font.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Anatolij Gustschin <agust@denx.de>
      78556631
    • Marek Vasut's avatar
      video: Encapsulate font in video_font_data.h · ac8ba84c
      Marek Vasut authored
      
      This patch moves all the font configuration values into video_font_data.h
      so they are all in the right place with the font. The video_font.h now only
      includes video_font_data.h and will allow us to select and include different
      font once more fonts are added.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Anatolij Gustschin <agust@denx.de>
      [agust: fixed build warning for mcc200]
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      ac8ba84c
  2. Aug 03, 2013
    • Marek Vasut's avatar
      i2c: soft: Fix typo in CONFIG_SYS_I2C_SOFT_SPEED · 90f002a9
      Marek Vasut authored
      
      In case only the CONFIG_SYS_I2C_SPEED is set in configuration file,
      the CONFIG_SYS_I2C_SOFT_SPEED is defined as CONFIG_SYS_I2C_SPEED.
      The CONFIG_SYS_I2C_SOFT_SPEED is then used throughout the driver.
      
      Unfortunatelly, due to a typo in the driver, instead of defining
      CONFIG_SYS_I2C_SOFT_SPEED, an CONFIG_SYS_SOFT_I2C_SPEED was defined
      and therefore the driver failed to compile. The same applies for
      CONFIG_SYS_I2C_SOFT_SLAVE , where the swap happens as well.
      
      This patch fixes the issue.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Heiko Schocher <hs@denx.de>
      90f002a9
  3. Aug 02, 2013
  4. Jul 30, 2013
  5. Jul 29, 2013
    • Łukasz Majewski's avatar
      dfu: Implementation of target reset after communication with dfu-util's -R switch · 6bed7ce5
      Łukasz Majewski authored
      
      This patch extends dfu code to support transmission with -R switch
      specified at dfu-util.
      
      When -R is specified, the extra USB_REQ_DFU_DETACH request is sent after
      successful data transmission. Then dfu resources are released and reset
      command is issued.
      
      Signed-off-by: default avatarLukasz Majewski <l.majewski@samsung.com>
      Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      6bed7ce5
    • Marek Vasut's avatar
      usb: mv_udc: Add bounce buffer · 6dd30af0
      Marek Vasut authored
      
      The requests sent to the controller are not properly cache aligned
      most of the time, thus implement a simple bounce buffer to avoid
      problem with cache.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Lei Wen <leiwen@marvell.com>
      Cc: Otavio Salvador <otavio@ossystems.com.br>
      Cc: Stefano Babic <sbabic@denx.de>
      6dd30af0
    • Marek Vasut's avatar
      usb: mv_udc: Improve allocation of qTD items · 8a095a68
      Marek Vasut authored
      
      Allocate the qTD items all at once instead of allocating them
      separately. Moreover, make sure each qTD is properly aligned
      to 32-bytes boundary and that cache can be safely flushed over
      each qTD touple.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Lei Wen <leiwen@marvell.com>
      Cc: Otavio Salvador <otavio@ossystems.com.br>
      Cc: Stefano Babic <sbabic@denx.de>
      8a095a68
    • Marek Vasut's avatar
      usb: mv_udc: Move QH and qTD into mv_drv · ab52df19
      Marek Vasut authored
      
      Both the endpoint queue head and the endpoint item list is a controller
      specific thing. Move them both into controller private data.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Lei Wen <leiwen@marvell.com>
      Cc: Otavio Salvador <otavio@ossystems.com.br>
      Cc: Stefano Babic <sbabic@denx.de>
      ab52df19
    • Marek Vasut's avatar
      usb: mv_udc: Make use of struct ehci_ctrl · be7ed253
      Marek Vasut authored
      
      The usb_lowlevel_init() call already fills and passes back struct
      ehci_ctrl , which readily contains correctly determined address of
      the port register block address computed from values from controller
      configuration registers. Leverage this and make use of this value
      as this makes the code mode universal, but also gets us rid of the
      CONFIG_USB_REG_BASE configuration option.
      
      Moreover, this patch cleans up the usb_gadget_register_driver() call
      a little by correcting the error handling. Note the usb_lowlevel_init()
      and mvudc_probe() are now called in reversed order, but this has no
      impact on the code.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Lei Wen <leiwen@marvell.com>
      Cc: Otavio Salvador <otavio@ossystems.com.br>
      Cc: Stefano Babic <sbabic@denx.de>
      be7ed253
    • Marek Vasut's avatar
      usb: mv_udc: Clean up the EP initialization · 2ea4b448
      Marek Vasut authored
      
      Move the constant values that are programmed into mv_ep.ep into
      separate static const structure so they can be memcpy()'d when
      the initialization happens.
      
      Moveover, we only every init NUM_ENDPOINTS, not 2 * NUM_ENDPOINTS,
      so fix this bug as well.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Lei Wen <leiwen@marvell.com>
      Cc: Otavio Salvador <otavio@ossystems.com.br>
      Cc: Stefano Babic <sbabic@denx.de>
      2ea4b448
    • Marek Vasut's avatar
      usb: mv_udc: Move endpoint array into driver data · 532d846f
      Marek Vasut authored
      
      The endpoints are operated on a per-controller basis, move the
      endpoint array into controller's private data. Also shuffle the
      struct mv_ep structure definition just above the definition of
      the struct mv_drv so they're well grouped together.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Lei Wen <leiwen@marvell.com>
      Cc: Otavio Salvador <otavio@ossystems.com.br>
      Cc: Stefano Babic <sbabic@denx.de>
      532d846f
    • Marek Vasut's avatar
      usb: mv_udc: Clean up mv_udc.h · 6368c919
      Marek Vasut authored
      
      Do a coding-style cleanup of this file and throw away useless
      defined values. These values were likely a result of a copy-paste
      job.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Lei Wen <leiwen@marvell.com>
      Cc: Otavio Salvador <otavio@ossystems.com.br>
      Cc: Stefano Babic <sbabic@denx.de>
      6368c919
  6. Jul 25, 2013
  7. Jul 24, 2013
  8. Jul 23, 2013
Loading