]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
TQM85xx: Fix a couple warnings in TQM8548 build
authorAndy Fleming <afleming@freescale.com>
Mon, 16 Feb 2009 15:40:20 +0000 (09:40 -0600)
committerAndy Fleming <afleming@freescale.com>
Tue, 17 Feb 2009 00:06:03 +0000 (18:06 -0600)
commite0c4fac79d4d74572ddd43f75e7189cecca8d0ad
tree44e8d6b760f6c2e067c06fa812e3b0d5fc11f843
parentcf07a5baece0ecfc5284cfda8a4e68eaf92782f8
TQM85xx: Fix a couple warnings in TQM8548 build

The ecm variable in sdram.c was being declared for all 8548, but only
used by specific 8548 boards, so we make that variable require those
specific boards, too

The nand code was using an index "i" into a table, and then re-using "i"
to set addresses for each upm.  However, then it relied on the old value
of i still being there to enable things.  Changed the second "i" to "j"

Signed-off-by: Andy Fleming <afleming@freescale.com>
board/tqc/tqm85xx/nand.c
board/tqc/tqm85xx/sdram.c