1. 12 3月, 2014 1 次提交
  2. 11 3月, 2014 12 次提交
    • T
      Prepare v2014.04-rc2 · 8ee950dd
      Tom Rini 提交于
      Signed-off-by: NTom Rini <trini@ti.com>
      8ee950dd
    • T
      Merge branch 'master' of git://git.denx.de/u-boot-arm · 5495dae7
      Tom Rini 提交于
      5495dae7
    • T
      Merge branch 'master' of git://git.denx.de/u-boot-usb · c0d29794
      Tom Rini 提交于
      c0d29794
    • S
      usb: create common header virtual root hub descriptors · eb838e7d
      Stephen Warren 提交于
      Many USB host controller drivers contain almost identical copies of the
      same virtual root hub descriptors. Put these into a common file to avoid
      duplication.
      
      Note that there were some very minor differences between the descriptors
      in the various files, such as:
      
      - USB 1.0 vs. USB 1.1
      - Manufacturer/Device ID
      - Max packet size
      - String content
      
      I assume these aren't relevant.
      
      Cc: Thomas Lange <thomas@corelatus.se>
      Cc: Shinya Kuribayashi <skuribay@pobox.com>
      Cc: Gary Jennejohn <garyj@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Eric Millbrandt <emillbrandt@coldhaus.com>
      Cc: Pierre Aubert <p.aubert@staubli.com>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Daniel Hellstrom <daniel@gaisler.com>
      Cc: Denis Peter <d.peter@mpl.ch>
      Cc: Rodolfo Giometti <giometti@linux.it>
      Cc: Zhang Wei <wei.zhang@freescale.com>
      Cc: Mateusz Zalega <m.zalega@samsung.com>
      Cc: Remy Bohmer <linux@bohmer.net>
      Cc: Markus Klotzbuecher <mk@denx.de>
      Cc: Minkyu Kang <mk7.kang@samsung.com>
      Cc: Gary Jennejohn <garyj@denx.de>
      Cc: C Nauman <cnauman@diagraph.com>
      Cc: David Müller <d.mueller@elsoft.ch>
      Cc: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
      Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
      Cc: Thomas Abraham <t-abraham@ti.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Andrew Murray <amurray@embedded-bits.co.uk>
      Cc: Matej Frančeškin <matej.franceskin@comtrade.com>
      Cc: Cliff Cai <cliff.cai@analog.com>
      Cc: Bryan Wu <cooloney@gmail.com>
      Signed-off-by: NStephen Warren <swarren@wwwdotorg.org>
      eb838e7d
    • S
      usb: ehci: fully align interrupt QHs/QTDs · 8165e34b
      Stephen Warren 提交于
      These data structures are passed to cache-flushing routines, and hence
      must be conform to both the USB the cache-flusing alignment requirements.
      That means aligning to USB_DMA_MINALIGN. This is important on systems
      where cache lines are >32 bytes.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      8165e34b
    • S
      ush: ehci: initialize altnext pointers in QH · 2456b97f
      Stephen Warren 提交于
      Section 4.10.2 "Advance Queue" of ehci-specification-for-usb.pdf
      specifies how an EHCI controller loads a new QTD for processing if the
      QH is not already marked as active. It states:
      
      =====
      If the field Bytes to Transfer is not zero and the T-bit in the Alternate
      Next qTD Pointer is set to zero, then the host controller uses the
      Alternate Next qTD Pointer. Otherwise, the host controller uses the Next
      qTD Pointer. If Next qTD Pointer’s T-bit is set to a one, then the host
      controller exits this state and uses the horizontal pointer to the next
      schedule data structure.
      =====
      
      Hence, we must ensure that the alternate next QTD pointer's T-bit
      (TERMINATE) is set, so the EHCI controller knows to use the next QTD
      pointer.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      2456b97f
    • M
      .gitignore: ignore include/config/* · 1f659b2e
      Masahiro Yamada 提交于
      Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      1f659b2e
    • M
      kbuild: fix a bug of make rule of version_autogenerated.h · 2e6b2f6a
      Masahiro Yamada 提交于
      include/generated/version_autogenerated.h was not correctly
      generated on the parallel build (with -j option).
      Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      Reported-by: NAndreas Bießmann <andreas.devel@googlemail.com>
      2e6b2f6a
    • E
      cfb_console: align fields in gzipped .bmp files · 5ca05c8b
      Eric Nelson 提交于
      .bmp files contain 32-bit integers aligned at offsets of +2, +6,
      et cetera within the bmp_header structure (see include/bmp_layout.h).
      
      Support for gzip-compressed .bmp files is present in the cfb_console
      display subsystem by uncompressing them prior to use.
      
      This patch forces the in-memory header to be aligned properly
      for these compressed images by extracting them to a 2-byte
      offset in the memory returned by malloc. Since malloc will always
      return a 4-byte aligned value, this forces the .bmp header
      fields to be naturally aligned on 4-byte addresses.
      
      Refer to these files for more details:
      	doc/README.displaying-bmps
      Signed-off-by: NEric Nelson <eric.nelson@boundarydevices.com>
      5ca05c8b
    • I
      ahci: wait longer for link. · 73545f75
      Ian Campbell 提交于
      I have observed timeouts on a cubietruck.
      
      The increase to 40ms is completely arbitrary and Works For Me(tm). I
      couldn't find a good reference for how long you are supposed to wait,
      although googling around it seems like tens of ms rather than single
      digits is more common. I don't think there is any harm in waiting a bit
      longer.
      Signed-off-by: NIan Campbell <ijc@hellion.org.uk>
      73545f75
    • I
      highbank: use scsi_init hook · b9463226
      Ian Campbell 提交于
      Signed-off-by: NIan Campbell <ijc@hellion.org.uk>
      Acked-by: NRob Herring <robh@kernel.org>
      b9463226
    • I
      ahci-plat: Provide a weak scsi_init hook · c6f3d50b
      Ian Campbell 提交于
      This allow the platform to register the platform ahci device.
      Signed-off-by: NIan Campbell <ijc@hellion.org.uk>
      c6f3d50b
  3. 10 3月, 2014 7 次提交
  4. 08 3月, 2014 14 次提交
  5. 07 3月, 2014 6 次提交
    • M
      kbuild: move "checkgcc4" to PowerPC archprepare · d57d60cf
      Masahiro Yamada 提交于
      "checkgcc4" is used only for PowerPC.
      Move it to arch/powerpc/config.mk.
      
      To make sure gcc is new enough before beginning build,
      run "checkgcc4" during "archprepare".
      Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      d57d60cf
    • M
      kbuild: move "checkthumb" to ARM archprepare · 388b2e52
      Masahiro Yamada 提交于
      "checkthumb" makes sense only for ARM architecture.
      Move it to arch/arm/config.mk.
      
      To make sure gcc supports THUMB mode before beginning build,
      run "checkthumb" during "archprepare".
      Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      388b2e52
    • M
      powerpc: mpc8260: consolidate CONFIG_MPC8260 and CONFIG_8260 · 58dac327
      Masahiro Yamada 提交于
      Before this commit, CONFIG_MPC8260 and CONFIG_8260
      were used mixed-up.
      
      All boards with mpc8260 cpu defined both of them:
        - CONFIG_MPC8260 was defined in board config headers
            and include/common.h
        - CONFIG_8260 was defined arch/powerpc/cpu/mpc8260/config.mk
      
      We do not need to have both of them.
      This commit keeps only CONFIG_MPC8260.
      
      This commit does:
       - Delete CONFIG_8260 and CONFIG_MPC8260 definition
         in config headers and include/common.h
       - Rename CONFIG_8260 to CONFIG_MPC8260
          in arch/powerpc/cpu/mpc8260/config.mk.
       - Rename #ifdef CONFIG_8260 to #ifdef CONFIG_MPC8260
      Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      Cc: Wolfgang Denk <wd@denx.de>
      58dac327
    • M
      mips: move CONFIG_MIPS{32, 64} definition to config.mk · cfda6bd2
      Masahiro Yamada 提交于
      All mips32 boards define CONFIG_MIPS32 in config headers
      except malta boards which define it in boards.cfg.
      We can consolidate them by defining it in
      arch/mips/cpu/mips32/config.mk.
      
      CONFIG_MIPS64 definition can be moved to
      arch/mips/cpu/mips64/config.mk as well.
      Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
      Acked-by: NDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
      cfda6bd2
    • M
      kbuild: improve Kbuild speed · 026f9cf2
      Masahiro Yamada 提交于
      Kbuild brought about many advantages for us but a significant
      performance regression was reported by Simon Glass.
      
      After some discussions and analysis, it turned out
      its main cause is in $(call cc-option,...).
      
      Historically, U-Boot parses all config.mk
      (arch/*/config.mk and board/*/config.mk)
      every time descending into subdirectories.
      That means cc-options are evaluated over and over again.
      
      $(call cc-option,...) is useful but costly.
      So we want to evaluate them only in ./Makefile
      and spl/Makefile and export compiler flags.
      
      This commit changes the build system as follows:
      
        - Modify scripts/Makefile.build to not include config.mk
          Instead, add $(PLATFORM_CPPFLAGS) to asflags-y, ccflags-y,
          cppflags-y.
      
        - Export many variables
          Going forward, Kbuild will not parse config.mk files
          when it descends into subdirectories.
          If we want to set variables in config.mk and use them
          in subdirectories, they must be exported.
      
          This is the list of variables to get exported:
            PLATFORM_CPPFLAGS
            CPUDIR
            BOARDDIR
            OBJCOPYFLAGS
            LDFLAGS
            LDFLAGS_FINAL
              (used in nand_spl/board/*/*/Makefile)
            CONFIG_STANDALONE_LOAD_ADDR
              (used in examples/standalone/Makefile)
            SYM_PREFIX
              (used in examples/standalone/Makefile)
            RELFLAGS
              (used in examples/standalone/Makefile)
      
        - Delete CPPFLAGS
          This variable has been replaced with PLATFORM_CPPFLAGS
      
        - Copy gcclibdir from example/standalone/Makefile
          to arch/sparc/config.mk
          The reference in CONFIG_STANDALONE_LOAD_ADDR must be
          resolved before it is exported.
      Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      Reported-by: NSimon Glass <sjg@chromium.org>
      Acked-by: NSimon Glass <sjg@chromium.org>
      Tested-by: Simon Glass <sjg@chromium.org> [on Sandbox]
      Tested-by: Stephen Warren <swarren@nvidia.com> [on Tegra]
      026f9cf2
    • M
      config.mk: specify the exact path to standalone linker script · a0a15b44
      Masahiro Yamada 提交于
      We want to change the build system to include config.mk
      only from ./Makefile and spl/Makefile.
      We must prepare for that in this commit.
      
      $(src) is a moving target and not handy for our purpose.
      We must replace it with a fixed path.
      Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      a0a15b44