25 Nov, 2014

6 commits


24 Nov, 2014

12 commits

  • When an invalid USDHC port is passed we should return -EINVAL instead of 0.

    Also, return the error immediately on fsl_esdhc_initialize() failure.

    Cc: Eric Benard
    Signed-off-by: Fabio Estevam

    Fabio Estevam
     
  • When an invalid USDHC port is passed we should return -EINVAL instead of 0.

    Also, return the error immediately on fsl_esdhc_initialize() failure.

    Cc: Eric Nelson
    Signed-off-by: Fabio Estevam

    Fabio Estevam
     
  • When an invalid USDHC port is passed we should return -EINVAL instead of 0.

    Also, return the error immediately on fsl_esdhc_initialize() failure.

    Cc: Christian Gmeiner
    Signed-off-by: Fabio Estevam

    Fabio Estevam
     
  • Ideally, the Linux kernel should get the hardware in its most
    untouched state. For the most part, U-Boot does not reset the various
    subsystems it touches before boot, and usually Linux deals with it, but
    on some boards (cm_fx6) the Linux kernel fails to detect the ssd
    correctly if sata is used by U-Boot.

    Power off sata on OS boot so that Linux will have a clean state to work
    with.

    Signed-off-by: Nikita Kiryanov
    Cc: Stefano Babic

    Nikita Kiryanov
     
  • Provide board specific implementation for sata stop command for
    cm_fx6.

    Signed-off-by: Nikita Kiryanov
    Cc: Stefano Babic

    Nikita Kiryanov
     
  • Implement sata stop command.
    This introduces the __sata_stop() weak function, which mirrors
    the weak __sata_initialize() function, giving users the option of
    undoing the custom steps performed in overrides of sata_initialize().

    Signed-off-by: Nikita Kiryanov
    Cc: Marek Vasut
    Cc: Tom Rini

    Nikita Kiryanov
     
  • Add reset_sata() to the sata driver interface and implement it
    for dwc_ahsata. This function cleans up after sata_init(), and
    therefore accepts a device number like sata_init() does.
    A dummy implementation is provided for the rest of the drivers.

    Signed-off-by: Nikita Kiryanov
    Cc: Simon Glass
    Cc: Stefano Babic

    Nikita Kiryanov
     
  • Implement disable_sata_clock for mx6 SoCs.

    Signed-off-by: Nikita Kiryanov
    Cc: Stefano Babic

    Nikita Kiryanov
     
  • gw_ventana can boot from SPI or NAND and both of these interfaces boot from
    the same 0x400 offset.

    This means that we could simplify the code and replace the custom gw_ventana.cfg
    with the generic spl_sd.cfg, as it provides the same boot offset of 0x400.

    Cc: Tim Harvey
    Signed-off-by: Fabio Estevam

    Fabio Estevam
     
  • Older Linux kernels will not properly boot in hyp mode, add support for a
    bootm_boot_mode environment variable, which can be set to "sec" or "nonsec"
    to force booting in secure or non-secure mode when build with non-sec support.

    The default behavior can be selected through CONFIG_ARMV7_BOOT_SEC_DEFAULT,
    when this is set booting in secure mode is the default. The default setting
    for this Kconfig option is N, preserving the current behavior of booting in
    non-secure mode by default when non-secure mode is supported.

    Signed-off-by: Hans de Goede
    Acked-by: Marc Zyngier
    Acked-by: Siarhei Siamashka

    Hans de Goede
     
  • Add arch/arm/cpu/armv7/Kconfig with non-secure and virt options, this is a
    preparation patch for adding an env variable to choose between secure /
    non-secure boot on non-secure boot capable systems, specifically this
    prepares for adding CONFIG_ARMV7_BOOT_SEC_DEFAULT as a proper Kconfig option.

    Signed-off-by: Hans de Goede

    Hans de Goede
     
  • For similar reasons to why the Linux Kernel has an EXPERT option, we too
    want an option to allow for tweaking of some options that while normally
    should remain hidden, may need to be changed in some cases.

    Signed-off-by: Tom Rini
    Acked-by: Masahiro Yamada
    Acked-by: Hans de Goede
    Signed-off-by: Hans de Goede

    Tom Rini
     

23 Nov, 2014

22 commits