[U-Boot] [PATCH v3 0/8] SATA support for omap5_uevm and dra7_evm
Enric Balletbo Serra
eballetbo at gmail.com
Thu Nov 21 16:40:45 CET 2013
Hi Roger,
2013/11/11 Roger Quadros <rogerq at ti.com>:
> Hi,
>
> This series adds SATA support for OMAP5 uevm and DRA7 evm.
>
> Patches are also availabe at
> git at github.com:rogerq/u-boot.git sata
>
> v3:
> - get rid of custom perror() macro, use printf
> - Fixed coding sytle issues
>
> v2:
> - Address review comments in the RFC series
> - Fix cache align error in the ahci driver
> - Added dra7 support
>
> cheers,
> -roger
>
> Roger Quadros (8):
> ahci: Error out with message on malloc() failure
> ahci: Fix cache align error messages
> ARM: OMAP5: Add Pipe3 PHY driver
> ARM: OMAP5: Add PRCM and Control information for SATA
> ARM: OMAP5: Add SATA platform glue
> ARM: omap5_uevm: Add SATA support
> ARM: DRA7xx: Add PRCM and Control information for SATA
> ARM: dra7_evm: Add SATA support
>
> arch/arm/cpu/armv7/omap-common/Makefile | 5 +
> arch/arm/cpu/armv7/omap-common/pipe3-phy.c | 231 +++++++++++++++++++++++++++++
> arch/arm/cpu/armv7/omap-common/pipe3-phy.h | 36 +++++
> arch/arm/cpu/armv7/omap-common/sata.c | 75 ++++++++++
> arch/arm/cpu/armv7/omap5/prcm-regs.c | 7 +
> arch/arm/include/asm/arch-omap5/clock.h | 3 +
> arch/arm/include/asm/arch-omap5/omap.h | 3 +
> arch/arm/include/asm/arch-omap5/sata.h | 48 ++++++
> arch/arm/include/asm/omap_common.h | 2 +
> board/ti/dra7xx/evm.c | 7 +
> board/ti/omap5_uevm/evm.c | 7 +
> drivers/block/ahci.c | 18 ++-
> include/configs/dra7xx_evm.h | 11 ++
> include/configs/omap5_uevm.h | 10 ++
> 14 files changed, 457 insertions(+), 6 deletions(-)
> create mode 100644 arch/arm/cpu/armv7/omap-common/pipe3-phy.c
> create mode 100644 arch/arm/cpu/armv7/omap-common/pipe3-phy.h
> create mode 100644 arch/arm/cpu/armv7/omap-common/sata.c
> create mode 100644 arch/arm/include/asm/arch-omap5/sata.h
>
> --
> 1.8.3.2
>
I've tested the patches in my board and worked for me.
Note, but, although the patches apply cleanly in current master branch
the build is broken due this commit:
commit 4e1aa8437ae5baed2be79fff09aa70a293e61467
Author: Masahiro Yamada <yamada.m at jp.panasonic.com>
Date: Thu Oct 17 17:34:48 2013 +0900
armv7: convert makefiles to Kbuild style
You should apply the following change in your patch number 3
(U-Boot-v3-3-8-ARM-OMAP5-Add-Pipe3-PHY-driver.patch)
diff --git a/arch/arm/cpu/armv7/omap-common/Makefile
b/arch/arm/cpu/armv7/omap-common/Makefile
index 679c1a1..59f5352 100644
--- a/arch/arm/cpu/armv7/omap-common/Makefile
+++ b/arch/arm/cpu/armv7/omap-common/Makefile
@@ -18,7 +18,7 @@ obj-y += abb.o
endif
ifneq ($(CONFIG_OMAP54XX),)
-COBJS += pipe3-phy.o
+obj-y += pipe3-phy.o
obj-$(CONFIG_SCSI_AHCI_PLAT) += sata.o
endif
And rebase the patch number 5
(U-Boot-v3-5-8-ARM-OMAP5-Add-SATA-platform-glue.patch) as after the
change doesn't apply.
Despite this:
Tested-by: Enric Balletbo i Serra <eballetbo at iseebcn.com>
Cheers,
Enric
More information about the U-Boot
mailing list