summaryrefslogtreecommitdiff
path: root/common/cmd_pcmcia.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-05-20 14:25:27 +0000
committerwdenk <wdenk>2003-05-20 14:25:27 +0000
commit7f70e85309c6367138c0ebd14abdd49964b8d50a (patch)
tree07a10be9b048491fd4a1da6b459728ac16739861 /common/cmd_pcmcia.c
parent59de2ed6b5631c709d6e9c6dce7c0bffdf5a2058 (diff)
downloadu-boot-imx-7f70e85309c6367138c0ebd14abdd49964b8d50a.zip
u-boot-imx-7f70e85309c6367138c0ebd14abdd49964b8d50a.tar.gz
u-boot-imx-7f70e85309c6367138c0ebd14abdd49964b8d50a.tar.bz2
* Patch by David Updegraff, 22 Apr 2003:
update for CrayL1 board * Patch by Pantelis Antoniou, 21 Apr 2003: add boot support for ARTOS (a proprietary OS) * Patch by Steven Scholz, 11 Apr 2003: Add support for RTC DS1338 * Patch by Rod Boyce, 24 Jan 2003: Fix counting of extended partitions in diskboot command
Diffstat (limited to 'common/cmd_pcmcia.c')
-rw-r--r--common/cmd_pcmcia.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/cmd_pcmcia.c b/common/cmd_pcmcia.c
index cb7600c..10ba84c 100644
--- a/common/cmd_pcmcia.c
+++ b/common/cmd_pcmcia.c
@@ -87,7 +87,9 @@ static int hardware_disable(int slot);
static int hardware_enable (int slot);
static int voltage_set(int slot, int vcc, int vpp);
+#ifndef CONFIG_I82365
static u_int m8xx_get_graycode(u_int size);
+#endif /* CONFIG_I82365 */
#if 0
static u_int m8xx_get_speed(u_int ns, u_int is_io);
#endif
@@ -2258,6 +2260,8 @@ static const u_int m8xx_size_to_gray[M8XX_SIZES_NO] =
/* -------------------------------------------------------------------- */
+#ifndef CONFIG_I82365
+
static u_int m8xx_get_graycode(u_int size)
{
u_int k;
@@ -2273,6 +2277,8 @@ static u_int m8xx_get_graycode(u_int size)
return k;
}
+#endif /* CONFIG_I82365 */
+
/* -------------------------------------------------------------------- */
#if 0