
This series enables support for boot from SATA on the SolidRun Clearfog platform.
Patches 1-3 are preparations for the addition of loading U-Boot main image from raw SATA device. They make spl sata code independent of board macros and specific kconfig symbols.
Patch 4 adds to SPL generic support for loading U-Boot from a raw SATA device. This code is modeled after the similar support for MMC devices.
Patches 5-6 are mvebu specific. Patch 5 fixes SATA access from SPL. Patch 6 adds the SATA boot option at the SoC level.
Patches 7-9 are the board specific update that enable SATA boot in Clearfog, and document the offset setting requirement.
Baruch Siach (9): spl: sata: add default partition and image name spl: sata: fix build with DM_SCSI spl: sata: don't force FS_FAT support spl: sata: support U-Boot load from raw sata disk arm: mvebu: fix ahci mbus config in SPL arm: mvebu: add support for boot from SATA arm: mvebu: clearfog: enable SATA in SPL arm: mvebu: clearfog: set U-Boot offset for SATA boot arm: mvebu: clearfog: document boot from SATA
arch/arm/dts/armada-388-clearfog-u-boot.dtsi | 8 ++++ arch/arm/mach-mvebu/Kconfig | 5 ++ arch/arm/mach-mvebu/Makefile | 3 ++ arch/arm/mach-mvebu/cpu.c | 4 ++ arch/arm/mach-mvebu/include/mach/soc.h | 2 + arch/arm/mach-mvebu/spl.c | 5 ++ board/solidrun/clearfog/README | 6 +++ common/spl/Kconfig | 14 ++++++ common/spl/spl_sata.c | 49 ++++++++++++++++++-- include/configs/clearfog.h | 2 +- 10 files changed, 94 insertions(+), 4 deletions(-)