20 May, 2011

16 commits


19 May, 2011

8 commits

  • The pnvram size was used later from start scripts in linux. Therefore
    it was added to the default environment.

    Signed-off-by: Holger Brunck
    Signed-off-by: Valentin Longchamp
    Acked-by: Heiko Schocher
    cc: Wolfgang Denk
    cc: Detlev Zundel

    Holger Brunck
     
  • This is a first step to simplify the default environment. Move all
    the environment variables which are only needed for debugging
    purpose to textfiles in the scripts directory. In case of debugging
    these files can be loaded via tftp into RAM and set via the env import
    command. Other variables are identified as obsolete and were removed.

    Signed-off-by: Holger Brunck
    Signed-off-by: Valentin Longchamp
    Acked-by: Heiko Schocher
    cc: Wolfgang Denk
    cc: Detlev Zundel

    Holger Brunck
     
  • BoardId and HWKey are used to identify the HW class of a given board.
    The correct values are stored in the inventory eeprom. During creation
    time of a boot package the boardId and HWkey for the SW is stored in
    the default environment and burned into the flash. During boottime
    the values in the inventory and in the environment are compared to
    avoid starting of a SW which is not authorized for this board.

    Some bootpackages are allowed to run on a set of different boardId
    hwKey. In this case the environment variable boardIdListHex was added
    to the default environment. In this case the command iterates over the
    pair values and compares them with the values read from the inventory
    eeprom.

    The syntax of such a boardIdListHex value is e.g.: 158_1 159_1 159_2

    Signed-off-by: Thomas Herzmann
    Signed-off-by: Holger Brunck
    Signed-off-by: Valentin Longchamp
    Acked-by: Heiko Schocher
    cc: Wolfgang Denk
    cc: Detlev Zundel

    Thomas Herzmann
     
  • Add missing header file to fix compilation warning

    omap_hsmmc.c: In function 'omap_mmc_init':
    omap_hsmmc.c:474: warning: implicit declaration of function 'get_cpu_family'
    omap_hsmmc.c:474: warning: implicit declaration of function 'get_cpu_rev'

    introduced by commit "MMC: omap_hsmmc.c: disable
    multiblock rw on old rev omap34xx silicon"
    (4ca9244d74f146a0605f5bee28a66e39aae88d3e)

    Signed-off-by: Dirk Behme
    CC: Andy Fleming
    CC: John Rigby

    Dirk Behme
     
  • commit 262951(MMC: make b_max unconditional) missed to update fsl_esdhc.

    Signed-off-by: Fabio Estevam
    Acked-by: Stefano Babic

    Fabio Estevam
     
  • For emmc, it may have up to 7 partitions: two boot partitions, one
    user partition, one RPMB partition and four general purpose partitions.
    (Refer to JESD84-A44.pdf/page 154)

    As bootloader may need to read out or reflashing images on those

    different partitions, it is better to enable the partition switch with
    console command support.

    Also for partition would be restore to user partition(part 0) when CMD0
    is used, so change mmc_init routine to perform normal initialization
    only once for each slot, unless use the rescan command to force init
    again.

    Signed-off-by: Lei Wen
    Acked-by: Andy Fleming

    Lei Wen
     
  • mmc command applied device, like ide and usb...

    Signed-off-by: Lei Wen
    Acked-by: Andy Fleming

    Lei Wen
     
  • A "send status" command is added with the commit "mmc: checking
    status after commands with R1b response". But the status register
    returned from send status command of SPI protocol is different from
    that of MMC/SD protocol. We do a simple test and generate a response
    in stead of full bit-by-bit translation.

    Signed-off-by: Thomas Chou

    Thomas Chou
     

18 May, 2011

16 commits