]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/cmd_pcmcia.c
* Patch by David Updegraff, 22 Apr 2003:
[people/ms/u-boot.git] / common / cmd_pcmcia.c
index cb7600c2af24957992d5f8a83618cb96f7d30387..10ba84c16e923ec9fa737e0e7109822e4dabfd79 100644 (file)
@@ -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