Skip to content
Snippets Groups Projects
  1. Feb 19, 2014
    • Masahiro Yamada's avatar
      kbuild: change out-of-tree build · 9e414032
      Masahiro Yamada authored
      
      This commit changes the working directory
      where the build process occurs.
      
      Before this commit, build process occurred under the source
      tree for both in-tree and out-of-tree build.
      
      That's why we needed to add $(obj) prefix to all generated
      files in makefiles like follows:
        $(obj)u-boot.bin:  $(obj)u-boot
      
      Here, $(obj) is empty for in-tree build, whereas it points
      to the output directory for out-of-tree build.
      
      And our old build system changes the current working directory
      with "make -C <sub-dir>" syntax when descending into the
      sub-directories.
      
      On the other hand, Kbuild uses a different idea
      to handle out-of-tree build and directory descending.
      
      The build process of Kbuild always occurs under the output tree.
      When "O=dir/to/store/output/files" is given, the build system
      changes the current working directory to that directory and
      restarts the make.
      
      Kbuild uses "make -f $(srctree)/scripts/Makefile.build obj=<sub-dir>"
      syntax for descending into sub-directories.
      (We can write it like "make $(obj)=<sub-dir>" with a shorthand.)
      This means the current working directory is always the top
      of the output directory.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Tested-by: default avatarGerhard Sittig <gsi@denx.de>
      9e414032
    • Heiko Schocher's avatar
      net, phy: atheros ar803x bug · 9137d19b
      Heiko Schocher authored
      
      commit 626ee1e3 "phylib: update atheros ar803x phy"
      
      leads in failing ethernet on the pxm2 board.
      
      Calling genphy_config() instead of ar8021_config(),
      which seems for ar8021 phys not ar803x phys, make
      it working again.
      
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      Cc: Shengzhou Liu <Shengzhou.Liu@freescale.com>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      9137d19b
  2. Feb 11, 2014
  3. Feb 07, 2014
  4. Feb 06, 2014
    • Novasys Ingenierie's avatar
      fpga: zynq: Correct fpga load when buf is not aligned · c83a35f6
      Novasys Ingenierie authored
      
      When ARCH_DMA_MINALIGN is greater than header size of the bit file, and buf is
      not aligned, new_buf address became greater then buf_start address and the
      load_word loop corrupts bit file data.
      
      A work around is to decrease new_buf of ARCH_DMA_MINALIGN, it might corrupt data
      before buf but permits to load correctly.
      
      Signed-off-by: default avatarStany MARCEL <smarcel@novasys-ingenierie.com>
      Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
      c83a35f6
    • Marek Vasut's avatar
      usb: mv_udc: Rename to ci_udc · f016f8ca
      Marek Vasut authored
      
      The mv_udc is not marvell-specific anymore. The mv_udc is used to drive
      generic ChipIdea CI13xxx series OTG cores, so rename the driver to ci_udc
      instead.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Eric Nelson <eric.nelson@boundarydevices.com>
      Cc: Stefano Babic <sbabic@denx.de>
      f016f8ca
    • Łukasz Majewski's avatar
      usb:gadget:f_thor: cosmetic: Remove debug memset · fc2d5d04
      Łukasz Majewski authored
      
      Apparently debug memset (with a 0x55 value) has been overlooked in the
      f_thor code.
      
      Signed-off-by: default avatarLukasz Majewski <l.majewski@samsung.com>
      Cc: Marek Vasut <marex@denx.de>
      fc2d5d04
    • Łukasz Majewski's avatar
      usb:gadget:f_thor: Allocate request up to THOR_PACKET_SIZE not ep->maxpacket · 84c13e6f
      Łukasz Majewski authored
      
      Now it is possible to allocate static request - which receives data from
      the host (OUT transaction) to the size of THOR packet.
      
      Signed-off-by: default avatarLukasz Majewski <l.majewski@samsung.com>
      Cc: Marek Vasut <marex@denx.de>
      84c13e6f
    • Łukasz Majewski's avatar
      usb:udc:samsung: Zero copy approach for data passed to Samsung's UDC driver · e0059eae
      Łukasz Majewski authored
      
      The Samsung's UDC driver is not anymore copying data from USB requests to
      aligned internal buffers. Now it works directly in data allocated in the
      upper layers like UMS, DFU, THOR.
      
      This change is possible since those gadgets now must take care to allocate
      buffers aligned to cache line (CONFIG_SYS_CACHELINE_SIZE).
      
      This can be achieved by using DEFINE_CACHE_ALIGN_BUFFER() or
      ALLOC_CACHE_ALIGN_BUFFER() macros. Those take care to allocate buffer
      aligned to cache line in both starting address and its size.
      Sometimes it is enough to just use memalign() with size being a
      multiplication of cache line size.
      
      Test condition
      - test HW + measurement: Trats - Exynos4210 rev.1
      - test HW Trats2 - Exynos4412 rev.1
      400 MiB compressed rootfs image download with `thor 0 mmc 0`
      
      Measurement:
      Transmission speed: 27.04 MiB/s
      
      Signed-off-by: default avatarLukasz Majewski <l.majewski@samsung.com>
      Cc: Marek Vasut <marex@denx.de>
      e0059eae
    • Łukasz Majewski's avatar
      usb:udc:samsung: Allow burst transfers for non EP0 endpints · 9c982218
      Łukasz Majewski authored
      
      This patch removed obscure restriction on the HW setting of DMA transfers.
      Before this change each transaction sent up to 512 bytes (with packet count
      equal to 1) for non EP0 transfer.
      
      Now it is possible to setup DMA transaction up to DMA_BUFFER_SIZE.
      
      Test condition
      - test HW + measurement: Trats - Exynos4210 rev.1
      - test HW Trats2 - Exynos4412 rev.1
      400 MiB compressed rootfs image download with `thor 0 mmc 0`
      
      Measurement:
      Transmission speed: 20.74 MiB/s
      
      Signed-off-by: default avatarLukasz Majewski <l.majewski@samsung.com>
      Cc: Marek Vasut <marex@denx.de>
      9c982218
    • Łukasz Majewski's avatar
      usb:udc:samsung: Remove redundant cache operation from Samsung UDC driver · 716662bd
      Łukasz Majewski authored
      
      A set of cache operations (both invalidation and flush) were redundant
      in the S3C HS OTG Samsung driver:
      
      1. s3c_udc_ep0_zlp - to transmit EP0's ZLP packets one don't need to flush
      the cache (since it is the zero length transmission)
      
      2. s3c_udc_pre_setup and s3c_ep0_complete_out - cache invalidation is not
      needed when the buffer for OUT EP0 transmission is setup, since no data
      has yet arrived.
      
      Cache cleanups presented above don't contribute much to transmission speed
      up, hence shall be regarded as cosmetic changes.
      
      3. setdma_rx - here the s3c UDC driver's internal buffers were invalidated.
      This call is not needed anymore since we reuse the buffers passed from
      gadgets. This is a key contribution to transmission speed improvement.
      
      Test condition
      - test HW + measurement: Trats - Exynos4210 rev.1
      - test HW Trats2 - Exynos4412 rev.1
      400 MiB compressed rootfs image download with `thor 0 mmc 0`
      
      Measurements:
      
      Base values (without improvement):
      Transmission speed: 9.51 MiB/s
      
      After the change:
      Transmission speed: 10.15 MiB/s
      
      Signed-off-by: default avatarLukasz Majewski <l.majewski@samsung.com>
      Cc: Marek Vasut <marex@denx.de>
      716662bd
    • Łukasz Majewski's avatar
      usb:gadget:ums: Replace malloc calls with memalign to fix cache buffer alignment · 16b7a29f
      Łukasz Majewski authored
      
      Calls to malloc() have been replaced by memalign. It now provides proper
      buffer alignment.
      
      Signed-off-by: default avatarLukasz Majewski <l.majewski@samsung.com>
      Cc: Marek Vasut <marex@denx.de>
      16b7a29f
  5. Feb 05, 2014
  6. Feb 04, 2014
  7. Feb 03, 2014
  8. Jan 24, 2014
  9. Jan 22, 2014
  10. Jan 21, 2014
Loading