Wolfgang Denk 20 年之前
父节点
当前提交
3836221d5b
共有 3 个文件被更改,包括 6 次插入4 次删除
  1. 2 0
      CHANGELOG
  2. 3 3
      drivers/ti_pci1410a.c
  3. 1 1
      include/configs/sc520_spunk.h

+ 2 - 0
CHANGELOG

@@ -2,6 +2,8 @@
 Changes for U-Boot 1.1.3:
 ======================================================================
 
+* Fix typo
+
 * Fix compiler warnings in cpu/ppc4xx/usbdev.c
   Patch by Steven Blakeslee, 04 Aug 2005
 

+ 3 - 3
drivers/ti_pci1410a.c

@@ -88,8 +88,8 @@ const char *indent = "\t   ";
 
 int do_pinit(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 {
-#ifndef CFG_FISRT_PCMCIA_BUS
-# define CFG_FISRT_PCMCIA_BUS 0
+#ifndef CFG_FIRST_PCMCIA_BUS
+# define CFG_FIRST_PCMCIA_BUS 0
 #endif
 
 	int rcode = 0;
@@ -99,7 +99,7 @@ int do_pinit(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 		return 1;
 	}
 	if (strcmp(argv[1],"on") == 0) {
-		rcode = pcmcia_on(CFG_FISRT_PCMCIA_BUS);
+		rcode = pcmcia_on(CFG_FIRST_PCMCIA_BUS);
 	} else if (strcmp(argv[1],"off") == 0) {
 		rcode = pcmcia_off();
 	} else {

+ 1 - 1
include/configs/sc520_spunk.h

@@ -169,7 +169,7 @@
 #define CFG_ATA_REG_OFFSET	0	/* reg offset */
 #define CFG_ATA_ALT_OFFSET	0x200	/* alternate register offset */
 
-#define CFG_FISRT_PCMCIA_BUS    1
+#define CFG_FIRST_PCMCIA_BUS    1
 
 #undef	CONFIG_IDE_LED			/* no led for ide supported	*/
 #undef  CONFIG_IDE_RESET		/* reset for ide unsupported...	*/