]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Last minute fixes / cleanup. U-Boot-1_0_2
authorwdenk <wdenk>
Thu, 12 Feb 2004 15:11:57 +0000 (15:11 +0000)
committerwdenk <wdenk>
Thu, 12 Feb 2004 15:11:57 +0000 (15:11 +0000)
board/evb64260/pci.c
board/omap1610inn/flash.c
rtc/ds1306.c

index e3172b210ef497ecac4e3947230ff5f4381c388d..9cd9722eec5e3d72e1f95612eb4bc5369c71fd67 100644 (file)
@@ -9,11 +9,11 @@
 
 static const unsigned char pci_irq_swizzle[2][PCI_MAX_DEVICES] = {
 #ifdef CONFIG_ZUMA_V2
-       {0, 0, 0, 0, 0, 0, 0, 29,[8...PCI_MAX_DEVICES - 1] = 0},
-       {0, 0, 0, 0, 0, 0, 0, 28,[8...PCI_MAX_DEVICES - 1] = 0}
+       {0, 0, 0, 0, 0, 0, 0, 29,[8 ... PCI_MAX_DEVICES - 1] = 0},
+       {0, 0, 0, 0, 0, 0, 0, 28,[8 ... PCI_MAX_DEVICES - 1] = 0}
 #else                          /* EVB??? This is a guess */
-       {0, 0, 0, 0, 0, 0, 0, 27, 27,[9...PCI_MAX_DEVICES - 1] = 0},
-       {0, 0, 0, 0, 0, 0, 0, 29, 29,[9...PCI_MAX_DEVICES - 1] = 0}
+       {0, 0, 0, 0, 0, 0, 0, 27, 27,[9 ... PCI_MAX_DEVICES - 1] = 0},
+       {0, 0, 0, 0, 0, 0, 0, 29, 29,[9 ... PCI_MAX_DEVICES - 1] = 0}
 #endif
 };
 
index b316c1d80c0dabfefdb5c37603f78113ede270f5..9b7e4ad023add6ee1801e7d602bad9fa5e0faf93 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Kyle Harris, Nexus Technologies, Inc. kharris@nexus-tech.net
  *
- * (C) Copyright 2001
+ * (C) Copyright 2001-2004
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
  * (C) Copyright 2003
@@ -80,6 +80,7 @@ void flash_print_info (flash_info_t * info);
 void flash_unprotect_sectors (FPWV * addr);
 int flash_erase (flash_info_t * info, int s_first, int s_last);
 int write_buff (flash_info_t * info, uchar * src, ulong addr, ulong cnt);
+void flash_unlock(flash_info_t * info);
 
 /*-----------------------------------------------------------------------
  */
@@ -118,7 +119,7 @@ unsigned long flash_init (void)
 
 /*-----------------------------------------------------------------------
  */
-flash_unlock(flash_info_t * info)
+void flash_unlock(flash_info_t * info)
 {
        int j;
        for (j=2;j<CFG_MAX_FLASH_SECT;j++){
index e6694615edd72b898de4f45614cf28f2269794ce..4d1115ee4bd5d1a281e50c2fc1ed5fecfe7b4543 100644 (file)
@@ -71,12 +71,12 @@ extern int spi_chipsel_cnt;
 
 static unsigned int bin2bcd (unsigned int n);
 static unsigned char bcd2bin (unsigned char c);
-static unsigned char rtc_read (unsigned char reg);
-static void rtc_write (unsigned char reg, unsigned char val);
 
 /* ************************************************************************* */
 #ifdef CONFIG_SXNI855T         /* !!! SHOULD BE CHANGED TO NEW CODE !!! */
 
+static unsigned char rtc_read (unsigned char reg);
+static void rtc_write (unsigned char reg, unsigned char val);
 static void soft_spi_send (unsigned char n);
 static unsigned char soft_spi_read (void);
 static void init_spi (void);