Patchwork [U-Boot,v4,06/10] block: mvsata: add dove include

login
register
mail settings
Submitter Sascha Silbe
Date May 26, 2013, 6:36 p.m.
Message ID <1369593423-19763-7-git-send-email-t-uboot@infra-silbe.de>
Download mbox | patch
Permalink /patch/246465/
State Superseded
Delegated to: Prafulla Wadaskar
Headers show

Comments

Sascha Silbe - May 26, 2013, 6:36 p.m.
From: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>

Dove SoC also uses mvsata, therefore add a SoC specific include to
allow to reuse the mvsata ide driver.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Prafulla Wadaskar <prafulla@marvell.com>
---
 drivers/block/mvsata_ide.c | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/drivers/block/mvsata_ide.c b/drivers/block/mvsata_ide.c
index 42c177f..500f13c 100644
--- a/drivers/block/mvsata_ide.c
+++ b/drivers/block/mvsata_ide.c
@@ -29,6 +29,8 @@ 
 #include <asm/arch/orion5x.h>
 #elif defined(CONFIG_KIRKWOOD)
 #include <asm/arch/kirkwood.h>
+#elif defined(CONFIG_DOVE)
+#include <asm/arch/dove.h>
 #endif
 
 /* SATA port registers */