In message <[EMAIL PROTECTED]> you wrote:
> sc520_spunk.c: In function 'pci_sc520_spunk_fixup_irq':
> sc520_spunk.c:117: warning: pointer targets in passing argument 4 of 
> 'pci_hose_read_config_byte' differ in signedness
> sc520_spunk.c: In function 'last_stage_init':
> sc520_spunk.c:580: warning: implicit declaration of function 'ds1722_probe'
> sc520_spunk.c: In function 'spi_init_f':
> sc520_spunk.c:643: warning: implicit declaration of function 
> 'spi_eeprom_probe'
> sc520_spunk.c:644: warning: implicit declaration of function 'mw_eeprom_probe'
> sc520_spunk.c: In function 'spi_read':
> sc520_spunk.c:660: warning: implicit declaration of function 'spi_eeprom_read'
> sc520_spunk.c:661: warning: implicit declaration of function 'mw_eeprom_read'
> sc520_spunk.c: In function 'spi_write':
> sc520_spunk.c:676: warning: implicit declaration of function 
> 'spi_eeprom_write'
> sc520_spunk.c:677: warning: implicit declaration of function 'mw_eeprom_write'
> 
> adding mw_eeprom header

Frankly, such a commit message is useless. What is it supposed to tell
me?

> -     char tmp_pin;
> +     u8 tmp_pin;

Please use uchar if you really want an unsigned character type.

> +void spi_eeprom_probe(int x)
> +{
> +}
> +
> +int spi_eeprom_read(int x, int offset, uchar *buffer, int len)
> +{
> +     return 0;
> +}
> +
> +int spi_eeprom_write(int x, int offset, uchar *buffer, int len)
> +{
> +     return 0;
> +}

Is this supposed to be working code?

Why is this needed, then?

> --- /dev/null
> +++ b/include/mw_eeprom.h
> @@ -0,0 +1,27 @@
> +/*
> + * See file CREDITS for list of people who contributed to this
> + * project.
> + *
> + * This program is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License as
> + * published by the Free Software Foundation; either version 2 of
> + * the License, or (at your option) any later version.
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> + * GNU General Public License for more details.
> + *
> + * You should have received a copy of the GNU General Public License
> + * along with this program; if not, write to the Free Software
> + * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
> + * MA 02111-1307 USA
> + */

Copyright entry missing.


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
Es sind überhaupt nur die Dummköpfe, die sich den Befehlen der  Mäch-
tigen  widersetzen.  Um  sie  zu ruinieren ist es genug, ihre Befehle
treu zu erfüllen.                  - Peter Hacks: "Die schöne Helena"

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to