Add support for writing the parameters back to flash.
Signed-off-by: John Jacques <john.jacques@lsi.com>
Fixed a number of problems in write_parameters().  The checksum
was not being updated correctly, and byte order was not correct
in a number of places.
Signed-off-by: John Jacques <john.jacques@lsi.com>
Merge branch 'lsi-v2013.01.01' into retention
Removed debug print.
Signed-off-by: John Jacques <john.jacques@lsi.com>
Removed extra decrement that was causing the link to always appear to be up.
Signed-off-by: John Jacques <john.jacques@lsi.com>
Workaround for BZ 45907.

The bootrom leaves SPI device 0 selected; the U-Boot SPI driver
expects the controller to be in the reset state.  So, deselect all
SPI devices early on (before initializing the SPI driver).
Signed-off-by: John Jacques <john.jacques@lsi.com>
support for DDR retention
Signed-off-by: Gary McGee <gmcgee@txasoft15.(none)>
Merge branch 'retention' into local/lsi-v2013.01.01
Updated PEI1 SERDES phy1 config to match what the user defines in the parameter file

Signed-off-by: SangeethaRao <sangeetha.rao@lsi.com>
Checking in PCIe Gen2 s/w workaround
Signed-off-by: SangeethaRao <sangeetha.rao@lsi.com>
USB driver was incorrectly using workarounds that are not required due to compiler switch bug

Signed-off-by: SangeethaRao <sangeetha.rao@lsi.com>
Disable auto-refresh during training - temp workaround for CWL issues

Signed-off-by: Gary McGee <gary.mcgee@lsi.com>
Merge branch 'retention' into lsi-v2013.01.01