21 Oct, 2014

1 commit


13 Oct, 2014

1 commit


11 Oct, 2014

4 commits


10 Oct, 2014

5 commits


09 Oct, 2014

1 commit


08 Oct, 2014

3 commits


07 Oct, 2014

5 commits


06 Oct, 2014

20 commits

  • Add code necessary to program the FPGA part of SoCFPGA from U-Boot
    with an RBF blob. This patch also integrates the code into the
    FPGA driver framework in U-Boot so it can be used via the 'fpga'
    command.

    Signed-off-by: Pavel Machek
    Signed-off-by: Marek Vasut
    Cc: Chin Liang See
    Cc: Dinh Nguyen
    Cc: Albert Aribaud
    Cc: Tom Rini
    Cc: Wolfgang Denk
    Cc: Pavel Machek

    V2: Move the not-CPU specific stuff into drivers/fpga/ and base
    this on the cleaned up altera FPGA support.

    Pavel Machek
     
  • Make the SoCFPGA MMC stub pick clock via the clock manager
    frequency accessors instead of hard-coding the frequency.

    Also fix calloc() misuse.

    Signed-off-by: Pavel Machek
    Signed-off-by: Marek Vasut
    Cc: Chin Liang See
    Cc: Dinh Nguyen
    Cc: Albert Aribaud
    Cc: Tom Rini
    Cc: Wolfgang Denk
    Cc: Pavel Machek
    Acked-by: Dinh Nguyen

    Pavel Machek
     
  • …ic/drivers/net-20141006', 'topic/tools/mkimage-20141006' and 'topic/arm/cache-20141006' into HEAD

    Marek Vasut
     
  • Add a few new variables to make the cache handling less cryptic.
    Add a variable for DMA and DATA descriptor start and end, so the
    correctness of the code is easier to inspect.

    Signed-off-by: Marek Vasut
    Cc: Chin Liang See
    Cc: Dinh Nguyen
    Cc: Albert Aribaud
    Cc: Tom Rini
    Cc: Wolfgang Denk
    Cc: Pavel Machek
    Cc: Joe Hershberger
    Acked-by: Pavel Machek
    Acked-by: Chin Liang See

    Marek Vasut
     
  • Fix remaining cache alignment issues in the DWC Ethernet driver.
    Please note that the cache handling in the driver is making the
    code hideous and thus the next patch cleans that up. In order to
    make this change reviewable though, the cleanup is split from it.

    Signed-off-by: Marek Vasut
    Cc: Chin Liang See
    Cc: Dinh Nguyen
    Cc: Albert Aribaud
    Cc: Tom Rini
    Cc: Wolfgang Denk
    Cc: Pavel Machek
    Cc: Joe Hershberger
    Acked-by: Pavel Machek

    Marek Vasut
     
  • Old saying says that more than three exclamation marks in a row are
    sign of mental disease. Cleanup micrel.c.

    Signed-off-by: Pavel Machek
    Signed-off-by: Marek Vasut
    Cc: Chin Liang See
    Cc: Dinh Nguyen
    Cc: Albert Aribaud
    Cc: Tom Rini
    Cc: Wolfgang Denk
    Cc: Pavel Machek
    Cc: Joe Hershberger
    Acked-by: Chin Liang See

    Pavel Machek
     
  • The dw_mmc driver was responding to errors with debug(). Change that
    to prinf()/puts() respectively so that any errors are immediately
    obvious. Also adjust english in comments.

    Signed-off-by: Pavel Machek
    Signed-off-by: Marek Vasut
    Cc: Chin Liang See
    Cc: Dinh Nguyen
    Cc: Albert Aribaud
    Cc: Tom Rini
    Cc: Wolfgang Denk
    Cc: Pavel Machek
    Cc: Pantelis Antoniou
    Acked-by: Chin Liang See

    Pavel Machek
     
  • Add a table of FPGA family with matching functions associated with
    it and make all the code just look up the family in that table and
    call the associated function instead of the horrible switch voodoo
    which was duplicated all over the place.

    Signed-off-by: Marek Vasut
    Cc: Chin Liang See
    Cc: Dinh Nguyen
    Cc: Albert Aribaud
    Cc: Tom Rini
    Cc: Wolfgang Denk
    Cc: Pavel Machek
    Acked-by: Pavel Machek

    Marek Vasut
     
  • Make the function return either 0 or -EINVAL, that is, normal
    expected error codes and success codes instead of true/false
    nonsense.

    Signed-off-by: Marek Vasut
    Cc: Chin Liang See
    Cc: Dinh Nguyen
    Cc: Albert Aribaud
    Cc: Tom Rini
    Cc: Wolfgang Denk
    Cc: Pavel Machek
    Acked-by: Pavel Machek

    Marek Vasut
     
  • Move the function to the top of the file to avoid forward declaration.
    No functional change.

    Signed-off-by: Marek Vasut
    Cc: Chin Liang See
    Cc: Dinh Nguyen
    Cc: Albert Aribaud
    Cc: Tom Rini
    Cc: Wolfgang Denk
    Cc: Pavel Machek
    Acked-by: Pavel Machek

    Marek Vasut
     
  • Further improve the indentation in the rest of the file, where
    the indentation is initially a bit less brutal. There is no
    functional change in this patch.

    Signed-off-by: Marek Vasut
    Cc: Chin Liang See
    Cc: Dinh Nguyen
    Cc: Albert Aribaud
    Cc: Tom Rini
    Cc: Wolfgang Denk
    Cc: Pavel Machek
    Acked-by: Pavel Machek

    Marek Vasut
     
  • Boldly go, where no programmer has gone before and just clean up
    the indentation mayhem. No functional change.

    Signed-off-by: Marek Vasut
    Cc: Chin Liang See
    Cc: Dinh Nguyen
    Cc: Albert Aribaud
    Cc: Tom Rini
    Cc: Wolfgang Denk
    Cc: Pavel Machek

    Marek Vasut
     
  • Clean up the printf() statements and get rid of the PRINTF()
    macro by replacing it with debug_cond().

    Signed-off-by: Marek Vasut
    Cc: Chin Liang See
    Cc: Dinh Nguyen
    Cc: Albert Aribaud
    Cc: Tom Rini
    Cc: Wolfgang Denk
    Cc: Pavel Machek
    Acked-by: Pavel Machek

    Marek Vasut
     
  • Trying to enumerate USB devices connected via ULPI to T20 failed as
    follows:

    USB2: ULPI integrity check failed

    Git bisecting revealed the following commit being at odds:

    commit 2d34151f7501ddaa599897f0d89ad576126b03eb
    usb: tegra: refactor PHY type selection

    Looking at above commit one quickly identifies a copy paste error which
    this patch fixes. Happy ULPIing again (;-p).

    Signed-off-by: Marcel Ziswiler

    Marcel Ziswiler
     
  • The processing of the max-download-size variable requires a
    radix specifier, or the fastboot host tool will interpret
    it as an octal number.

    See function get_target_sparse_limit() in file fastboot/fastboot.c
    in the AOSP:
    https://android.googlesource.com/platform/system/core/+/master

    Signed-off-by: Eric Nelson

    Eric Nelson
     
  • Current Android Fastboot seems to use 'max-download-size' instead
    of 'downloadsize' variable to indicate the maximum size of sparse
    segments.

    See function get_target_sparse_limit() in file fastboot/fastboot.c
    in the AOSP:
    https://android.googlesource.com/platform/system/core/+/master

    Signed-off-by: Eric Nelson

    Eric Nelson
     
  • Force full-speed (12 Mbit/s) operation if CONFIG_USB_GADGET_DUALSPEED
    is not defined.

    The controller is capable of high-speed (480 Mbit/s) operation,
    but some designs may require the use of lower-speed operation.

    Signed-off-by: Eric Nelson

    Eric Nelson
     
  • When download is ongoing, if the actual size of one transfer
    is not the same as BYTES_PER_DOT, which will cause the dot
    won't print anymore. Then it will let the user thinking it
    is stuck, actually it is transfering without dot printed.

    So, improve the method to show the progress bar (print dot).

    Signed-off-by: Bo Shen
    Acked-by: Marek Vasut

    Bo Shen
     
  • Without this flag, tools like Alex Page's USB Image Tool
    won't see drives exposed over USB Gadget as removable,
    and won't allow access to them.
    http://www.alexpage.de/usb-image-tool/

    The code was pulled from the main-line kernel:
    drivers/usb/gadget/function/f_mass_storage.c

    Signed-off-by: Eric Nelson

    Eric Nelson
     
  • DFU now can use also fullspeed.

    Signed-off-by: Heiko Schocher
    Cc: Tom Rini
    Cc: Lukasz Majewski
    Cc: Marek Vasut
    Cc: Liu Bin
    Cc: Lukas Stockmann

    Heiko Schocher