[U-Boot-Users] [PATCH] sh: Add support command of ide with sh

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Sat Nov 24 18:54:47 CET 2007


From: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
---
 common/cmd_ide.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/cmd_ide.c b/common/cmd_ide.c
index bb064ea..456640a 100644
--- a/common/cmd_ide.c
+++ b/common/cmd_ide.c
@@ -892,7 +892,7 @@ input_swap_data(int dev, ulong *sect_buf, int words)
 #endif	/* __LITTLE_ENDIAN || CONFIG_AU1X00 */
 
 
-#if defined(__PPC__) || defined(CONFIG_PXA_PCMCIA)
+#if defined(__PPC__) || defined(CONFIG_PXA_PCMCIA) || defined(CONFIG_SH)
 static void
 output_data(int dev, ulong *sect_buf, int words)
 {
@@ -944,7 +944,7 @@ output_data(int dev, ulong *sect_buf, int words)
 }
 #endif	/* __PPC__ */
 
-#if defined(__PPC__) || defined(CONFIG_PXA_PCMCIA)
+#if defined(__PPC__) || defined(CONFIG_PXA_PCMCIA) || defined(CONFIG_SH)
 static void
 input_data(int dev, ulong *sect_buf, int words)
 {
-- 
1.5.3.5




More information about the U-Boot mailing list