ColdFire: Fix M5329EVB and M5373EVB nand issue
authorTsiChung Liew <Tsi-Chung.Liew@freescale.com>
Fri, 24 Oct 2008 12:59:12 +0000 (12:59 +0000)
committerJohn Rigby <jrigby@freescale.com>
Mon, 3 Nov 2008 16:45:59 +0000 (09:45 -0700)
commite4f69d1bd21a12049744989d2dd6b5199c9b8f23
treef5e1e5d9517aefd8b071b5a4fd1fb0ec94cb943f
parent1b2708442224a551a0b865b52710306333888932
ColdFire: Fix M5329EVB and M5373EVB nand issue

Fix compilation issue caused by a few mismatches.
Provide proper nand chip select enable/disable in
nand_hwcontrol() rather than in board_nand_init()
just enable once. Remove redundant local nand driver
functions - nand_read_byte(), nand_write_byte() and
nand_dev_ready() to use common nand driver.

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
board/freescale/m5329evb/nand.c
board/freescale/m5373evb/nand.c