From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Fri, 2 Apr 2010 11:38:54 -0500 Subject: [U-Boot] [PATCH 2/2] Fix compile errors for atmel_nand with hw-ecc and new SoC access In-Reply-To: <1269780145-6396-3-git-send-email-holler@ahsoftware.de> References: <20100319221736.GB8992@loki.buserror.net> <1269780145-6396-1-git-send-email-holler@ahsoftware.de> <1269780145-6396-2-git-send-email-holler@ahsoftware.de> <1269780145-6396-3-git-send-email-holler@ahsoftware.de> Message-ID: <20100402163854.GA5796@loki.buserror.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Mar 28, 2010 at 02:42:25PM +0200, Alexander Holler wrote: > atmel_nand.c with HW-ECC doesn't compile with the new SoC access. > Using CONFIG_AT91_LEGACY to circumvent the compile errors only leaves > the driver in a state where it doesn't find the NAND. > > To use HW-ECC with atmel_nand one has to use > CONFIG_SYS_NAND_ECC_BASE AT91_ECC0_BASE (instead of AT91_ECC0) > for an AT91SAM9263 or AT91_ECC_BASE for an AT91SAM9260. > > I've removed three unused variables too. > --- > drivers/mtd/nand/atmel_nand.c | 7 +++---- > 1 files changed, 3 insertions(+), 4 deletions(-) Missing Signed-off-by line. -Scott