summaryrefslogtreecommitdiff
path: root/common/cmd_ide.c
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-04-20 11:22:13 -0500
committerWolfgang Denk <wd@denx.de>2009-04-28 01:03:13 +0200
commit67c2e57c0875139dbfcd6f41c43e6ad0cb2e40c9 (patch)
tree731caa78c177ca51d85fa24d58e18fef3b33caa5 /common/cmd_ide.c
parentc93c102ace00764a56dbdf78bac134a23906721e (diff)
cmd_ide: Remove unused AmigaOneG3SE code
The output_data_short() and input_data_short() functions for the AmigaOneG3SE are unused and result in compiler warnings. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'common/cmd_ide.c')
-rw-r--r--common/cmd_ide.c44
1 files changed, 0 insertions, 44 deletions
diff --git a/common/cmd_ide.c b/common/cmd_ide.c
index 9bc6b4a986e..782ad1c0942 100644
--- a/common/cmd_ide.c
+++ b/common/cmd_ide.c
@@ -851,28 +851,6 @@ set_pcmcia_timing (int pmode)
/* ------------------------------------------------------------------------- */
-#ifdef __PPC__
-# ifdef CONFIG_AMIGAONEG3SE
-static void
-output_data_short(int dev, ulong *sect_buf, int words)
-{
- ushort *dbuf;
- volatile ushort *pbuf;
-
- pbuf = (ushort *)(ATA_CURR_BASE(dev)+ATA_DATA_REG);
- dbuf = (ushort *)sect_buf;
- while (words--) {
- EIEIO;
- *pbuf = *dbuf++;
- EIEIO;
- }
-
- if (words&1)
- *pbuf = 0;
-}
-# endif /* CONFIG_AMIGAONEG3SE */
-#endif /* __PPC_ */
-
/* We only need to swap data if we are running on a big endian cpu. */
/* But Au1x00 cpu:s already swaps data in big endian mode! */
#if defined(__LITTLE_ENDIAN) || ( defined(CONFIG_AU1X00) && !defined(CONFIG_GTH2) )
@@ -1028,28 +1006,6 @@ input_data(int dev, ulong *sect_buf, int words)
#endif /* __PPC__ */
-#ifdef CONFIG_AMIGAONEG3SE
-static void
-input_data_short(int dev, ulong *sect_buf, int words)
-{
- ushort *dbuf;
- volatile ushort *pbuf;
-
- pbuf = (ushort *)(ATA_CURR_BASE(dev)+ATA_DATA_REG);
- dbuf = (ushort *)sect_buf;
- while (words--) {
- EIEIO;
- *dbuf++ = *pbuf;
- EIEIO;
- }
-
- if (words&1) {
- ushort dummy;
- dummy = *pbuf;
- }
-}
-#endif
-
/* -------------------------------------------------------------------------
*/
static void ide_ident (block_dev_desc_t *dev_desc)