Skip to content
Snippets Groups Projects
  1. Jun 18, 2015
  2. Jun 12, 2015
  3. Jun 11, 2015
  4. Jun 08, 2015
  5. Jun 06, 2015
    • Hans de Goede's avatar
      image-fit: Fix compiler warning in fit_conf_print() · 5bcec545
      Hans de Goede authored
      
      This fixes the following compiler warning:
      
      In file included from tools/common/image-fit.c:1:0:
      ./tools/../common/image-fit.c: In function ‘fit_conf_print’:
      ./tools/../common/image-fit.c:1470:27: warning: logical not is only applied
       to the left hand side of comparison [-Wlogical-not-parentheses]
          (const char **)&uname) > 0;
      
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      5bcec545
  6. Jun 05, 2015
    • Paul Kocialkowski's avatar
      fdt: Pass the device serial number through devicetree · 10be5b5d
      Paul Kocialkowski authored
      
      Before device-tree, the device serial number used to be passed to the kernel
      using ATAGs (on ARM). This is now deprecated and all the handover to the kernel
      should now be done using device-tree. Thus, this passes the serial-number
      property to the kernel using the serial-number property of the root node, as
      expected by the kernel.
      
      The serial number is a string that somewhat represents the device's serial
      number. It might come from some form of storage (e.g. an eeprom) and be
      programmed at factory-time by the manufacturer or come from identification
      bits available in e.g. the SoC.
      
      Signed-off-by: default avatarPaul Kocialkowski <contact@paulk.fr>
      Reviewed-by: default avatarSimon Glass <sgj@chromium.org>
      10be5b5d
  7. Jun 04, 2015
  8. Jun 01, 2015
  9. May 29, 2015
    • Hans de Goede's avatar
      usb: kbd: Fix key repeat not always working · 8454c84a
      Hans de Goede authored
      
      The usb-kbd key repeat code assumes that reports get repeated every 40 ms,
      this is never true when using CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP, and
      does not always works for CONFIG_SYS_USB_EVENT_POLL and
      CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE since not all usb keyboards honor
      the usb_set_idle() command.
      
      For CONFIG_SYS_USB_EVENT_POLL we must use usb_set_idle() since we do a
      blocking wait for the hid report, so if we do not tell the keyboard to send
      a hid report every 40ms even if nothing changes then we will block u-boot
      for 1s (the default u-boot usb interrupt packet timeout). Note that in this
      case on keyboards which do not support usb_set_idle() we loose and we actually
      get 1s latencies on other u-boot activities.
      
      For the other poll-methods this commit stops using usb_set_idle() and instead
      repeats the last received hid-report every 40 ms as long as no new hid-report
      is received. This fixes key-repeat not working at all with
      CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP and fixes it not working with
      keyboards which do not implement usb_set_idle() when using
      CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE.
      
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      8454c84a
    • Hans de Goede's avatar
      usb: Remove unused variable in usb_setup_descriptor() · 126ca942
      Hans de Goede authored
      
      The compiler did not catch this as it was marked __maybe_unused.
      
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      126ca942
  10. May 28, 2015
  11. May 27, 2015
  12. May 26, 2015
  13. May 21, 2015
  14. May 19, 2015
    • Hans de Goede's avatar
      console: Fix pre-console flushing via cfb_console being very slow · a8552c7c
      Hans de Goede authored
      
      On my A10 OlinuxIno Lime I noticed a huge (5+ seconds) delay coming from
      console_init_r. This turns out to be caused by the preconsole buffer flushing
      to the cfb_console. The Lime only has a 16 bit memory bus and that is already
      heavy used to scan out the 1920x1080 framebuffer.
      
      The problem is that print_pre_console_buffer() was printing the buffer once
      character at a time and the cfb_console code then ends up doing a cache-flush
      for touched display lines for each character.
      
      This commit fixes this by first building a 0 terminated buffer and then
      printing it in one puts() call, avoiding unnecessary cache flushes.
      
      This changes the time for the flush from 5+ seconds to not noticable.
      
      The downside of this approach is that the pre-console buffer needs to fit
      on the stack, this is not that much to ask since we are talking about plain
      text here. This commit also adjusts the sunxi CONFIG_PRE_CON_BUF_SZ to
      actually fit on the stack. Sunxi currently is the only user of the pre-console
      code so no other boards need to be adjusted.
      
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      a8552c7c
    • Tim Harvey's avatar
      env_nand: use nand_spl_load_image for readenv if SPL · 9e205602
      Tim Harvey authored
      
      The readenv() implementation of env_nand uses the mtd layer which is
      unnecessary overhead in SPL when we already have a nand_spl_load_image()
      function that doesn't need it. Using this instead eliminates the need
      to provide a mtd_read for SPL env as well as reduces code (4KB savings in IMX6
      SPL).
      
      Signed-off-by: default avatarTim Harvey <tharvey@gateworks.com>
      Acked-by: default avatarScott Wood <scottwood@freescale.com>
      9e205602
  15. May 15, 2015
Loading