23 Dec, 2010

1 commit


21 Dec, 2010

1 commit

  • It can be optimised out by the compiler otherwise resulting
    in obscure errors like a board not booting.

    This has been documented in README since 2006 when these were
    first fixed up for GCC 4.x.

    Signed-off-by: John Rigby

    Fix some additional places.

    Signed-off-by: Wolfgang Denk
    Acked-By: Albert ARIBAUD

    John Rigby
     

19 Dec, 2010

8 commits

  • Wolfgang Denk
     
  • Convert the variable omap3_evm_version to u32 to work around
    some broken linkers from older tool chains. E.g. CodeSourcery's
    2009q1-203 ld 2.19.51.20090205. Without this, these linkers
    stop linking 'omap3_evm' or at least issue a warning. Like

    arm-none-linux-gnueabi-ld: section .bss [8003f5e0 -> 8007e337] overlaps section .rel.dyn [8003f5e0 -> 80044e57]
    arm-none-linux-gnueabi-ld: section .dynsym [80044e58 -> 80044ef7] overlaps section.bss [8003f5e0 -> 8007e337]
    arm-none-linux-gnueabi-ld: u-boot: section .bss vma 0x8003f5e0 overlaps previous sections

    CC: Sanjeev Premi
    Signed-off-by: Dirk Behme

    Dirk Behme
     
  • The current code use all the voltage range support by the host
    controller to do the validation. This will cause problem when
    the host supports Low Voltage Range. Change the validation
    voltage to be based on board setup.

    Signed-off-by: Li Yang
    Tested-by: Stefano Babic
    Signed-off-by: Kumar Gala

    Li Yang
     
  • The max clock of MMC is 52MHz

    Signed-off-by: Jerry Huang
    Tested-by: Stefano Babic
    Signed-off-by: Kumar Gala

    Jerry Huang
     
  • After booting the u-boot, and first using some SD card (such as Sandisk 2G SD
    card), because the field 'clock' of struct mmc is zero, this will cause
    the read transfer is always active and SDHC DATA line is always active,
    therefore, driver can't handle the next command.

    Therefore, we use mmc_set_clock to setup both the data structure and HW
    to the initial clock speed of 400000Hz.

    Signed-off-by: Jerry Huang
    Tested-by: Stefano Babic
    Signed-off-by: Kumar Gala

    Jerry Huang
     
  • The current code use all the voltage range support by the host
    controller to do the validation. This will cause problem when
    the host supports Low Voltage Range. Change the validation
    voltage to be based on board setup.

    Signed-off-by: Li Yang
    Tested-by: Stefano Babic
    Signed-off-by: Kumar Gala

    Li Yang
     
  • The max clock of MMC is 52MHz

    Signed-off-by: Jerry Huang
    Tested-by: Stefano Babic
    Signed-off-by: Kumar Gala

    Jerry Huang
     
  • After booting the u-boot, and first using some SD card (such as Sandisk 2G SD
    card), because the field 'clock' of struct mmc is zero, this will cause
    the read transfer is always active and SDHC DATA line is always active,
    therefore, driver can't handle the next command.

    Therefore, we use mmc_set_clock to setup both the data structure and HW
    to the initial clock speed of 400000Hz.

    Signed-off-by: Jerry Huang
    Tested-by: Stefano Babic
    Signed-off-by: Kumar Gala

    Jerry Huang
     

18 Dec, 2010

3 commits


17 Dec, 2010

19 commits


15 Dec, 2010

1 commit


14 Dec, 2010

5 commits


13 Dec, 2010

2 commits

  • eSDHC host controller reset results in clearing of snoop bit also.
    This patch sets the SNOOP bit after the completion of host controller reset.
    Without this patch mmc reads are not consistent.

    Signed-off-by: P.V.Suresh
    Signed-off-by: Kumar Gala

    P.V.Suresh
     
  • According to Freescale reference manuals (eg section "13.4.4.2
    Programming the UPMs" of the P4080 Reference Manual):

    "Since the result of any update to the MxMR/MDR register must be in
    effect before the dummy read or write to the UPM region, a write to
    MxMR/MDR should be followed immediately by a read of MxMR/MDR."

    The UPM on a custom P4080-based board did not work without performing
    a read of MxMR/MDR after a write.

    Signed-off-by: John Schmoller
    Signed-off-by: Peter Tyser
    Acked-by: Scott Wood
    Signed-off-by: Kumar Gala

    John Schmoller