1. 07 9月, 2016 3 次提交
    • A
      image-fit: fix fit_image_load() OS check · 950fe26d
      Andreas Bießmann 提交于
      Commit 62afc601 introduced fpga image load via
      bootm but broke the OS check in fit_image_load().
      
      This commit removes following compiler warning:
      
      ---8<---
      In file included from tools/common/image-fit.c:1:
      /Volumes/devel/u-boot/tools/../common/image-fit.c:1715:39: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
              os_ok = image_type == IH_TYPE_FLATDT || IH_TYPE_FPGA ||
                                                   ^  ~~~~~~~~~~~~
      /Volumes/devel/u-boot/tools/../common/image-fit.c:1715:39: note: use '|' for a bitwise operation
              os_ok = image_type == IH_TYPE_FLATDT || IH_TYPE_FPGA ||
                                                   ^~
                                                   |
      1 warning generated.
      --->8---
      Signed-off-by: NAndreas Bießmann <andreas@biessmann.org>
      Cc: Michal Simek <michal.simek@xilinx.com>
      Acked-by: NMichal Simek <michal.simek@xilinx.com>
      950fe26d
    • A
      serial: bcm283x_mu: Detect disabled serial device · 601147b0
      Alexander Graf 提交于
      On the raspberry pi, you can disable the serial port to gain dynamic frequency
      scaling which can get handy at times.
      
      However, in such a configuration the serial controller gets its rx queue filled
      up with zero bytes which then happily get transmitted on to whoever calls
      getc() today.
      
      This patch adds detection logic for that case by checking whether the RX pin is
      mapped to GPIO15 and disables the mini uart if it is not mapped properly.
      
      That way we can leave the driver enabled in the tree and can determine during
      runtime whether serial is usable or not, having a single binary that allows for
      uart and non-uart operation.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      Acked-by: NStephen Warren <swarren@wwwdotorg.org>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      601147b0
    • A
      bcm2835_gpio: Implement GPIOF_FUNC · 04a993fe
      Alexander Graf 提交于
      So far we could only tell the gpio framework that a GPIO was mapped as input or
      output, not as alternative function.
      
      This patch adds support for determining whether a function is mapped as
      alternative.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      Acked-by: NStephen Warren <swarren@wwwdotorg.org>
      04a993fe
  2. 06 9月, 2016 6 次提交
  3. 03 9月, 2016 7 次提交
  4. 02 9月, 2016 4 次提交
  5. 31 8月, 2016 1 次提交
    • S
      ARM: tegra: use numeric versioning for p2771-0000 · 7932d3e4
      Stephen Warren 提交于
      The board ID EEPROM and board ID stickers on p2771-0000 will use a numeric
      versioning scheme, with version numbers such as 000/100/200/300/400/500.
      Within NVIDIA, these versions are also known as A00/A01/A02/A03/A04/B00.
      However, that numbering scheme is not easily visible outside of NVIDIA,
      and so does not make much sense to use. Convert U-Boot to use the readily
      visible numeric scheme.
      
      Also, it turns out that the current A02 DT actually applies to board
      versions 000/100/200 (A00..A02). Consequently rename this to 000 not 200
      so that all U-Boot builds are named after the first version of the HW they
      support.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NTom Warren <twarren@nvidia.com>
      7932d3e4
  6. 30 8月, 2016 6 次提交
  7. 28 8月, 2016 13 次提交