[U-Boot] [PATCH v2] [POWERPC] TQM8272: Fix compiling error for the TQM8272 board.

Scott Wood scottwood at freescale.com
Wed Aug 27 22:10:34 CEST 2008


On Wed, Aug 27, 2008 at 08:37:22PM +0200, Heiko Schocher wrote:
> [POWERPC] TQM8272: Fix compiling error for the TQM8272 board.
> 
> tqm8272.c: In function 'upmnand_hwcontrol':
> tqm8272.c:1086: warning: implicit declaration of function 'writeb'
> tqm8272.c: In function 'board_nand_init':
> tqm8272.c:1193: error: 'struct nand_chip' has no member named 'write_byte'
> make[1]: *** [tqm8272.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make: *** [board/tqc/tqm8272/libtqm8272.a] Error 2
> 
> introduced from commit:
> 
> Update MTD to that of Linux 2.6.22.1
> 
> author  William Juul <william.juul at datarespons.no>
>          Wed, 31 Oct 2007 12:53:06 +0000 (13:53 +0100)
> committer       Scott Wood <scottwood at freescale.com>
>          Tue, 12 Aug 2008 16:31:15 +0000 (11:31 -0500)
> commit  cfa460adfdefcc30d104e1a9ee44994ee349bb7b
> 
> Also moved the NAND Code in a seperate File.

Please don't do these in the same patch -- especially if you do not use
the -M flag with git-format-patch.  It makes it difficult to see what was
changed.

-Scott


More information about the U-Boot mailing list