[U-Boot-Users] Altera Stratix II support

eran liberty eran.liberty at gmail.com
Mon Jun 4 22:26:19 CEST 2007


this patch correct a warining i got about const casting...
============== sof =====================
diff -x .svn -Nuar u-boot.git/common/fpga.c u-boot-exsw6000/common/fpga.c
--- u-boot.git/common/fpga.c	2007-05-28 02:11:11.000000000 +0300
+++ u-boot-exsw6000/common/fpga.c	2007-06-03 22:13:42.000000000 +0300
@@ -64,7 +64,7 @@
 /* fpga_no_sup
  * 'no support' message function
  */
-static void fpga_no_sup( char *fn, char *msg )
+static void fpga_no_sup(const char *fn,const char *msg )
 {
 	if ( fn && msg ) {
 		printf( "%s: No support for %s.  CONFIG_FPGA defined as 0x%x.\n",
@@ -207,10 +207,6 @@
 	memset( desc_table, 0, sizeof(desc_table));

 	PRINTF( "%s: CONFIG_FPGA = 0x%x\n", __FUNCTION__, CONFIG_FPGA );
-#if 0
-	PRINTF( "%s: CFG_FPGA_XILINX = 0x%x\n", __FUNCTION__, CFG_FPGA_XILINX );
-	PRINTF( "%s: CFG_FPGA_ALTERA = 0x%x\n", __FUNCTION__, CFG_FPGA_ALTERA );
-#endif
 }

 /* fpga_count
============== eof =====================




More information about the U-Boot mailing list