24 Nov, 2014

6 commits

  • 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
     

21 Nov, 2014

10 commits


20 Nov, 2014

24 commits