[MTD] [NAND] Fix endianess bug in ndfc.c
authorStefan Roese <ml@stefan-roese.de>
Fri, 10 Nov 2006 11:19:32 +0000 (12:19 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 28 Nov 2006 22:22:55 +0000 (22:22 +0000)
commit4010db56c8fe5bbb8e223bf9c9c36d41e9ad4f79
treecdc33d44f08b82dab6d8f63280ce4263c5dffce6
parentddacff1f20fc5c96cc73e2975258e05d298c97cc
[MTD] [NAND] Fix endianess bug in ndfc.c

The writel() call accidentally clears all bits in the NDFC_CCR
register (endianess problem). Now __raw_writel() is used instead.

Tested on Bamboo with NAND on chip select 0 and chip select 1.

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/ndfc.c