]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: atmel-nand: use pmecc_readl(b)/pmecc_writel to access the pmecc register
authorWu, Josh <Josh.wu@atmel.com>
Tue, 24 Jun 2014 10:18:06 +0000 (18:18 +0800)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Thu, 18 Sep 2014 22:11:13 +0000 (00:11 +0200)
commit14b3b44edaf85e8ebc31e2068c2b5e56c2a941db
treef6df1d041ed7b61fd83162758906c19cc68ca1ba
parent9170818a4e004af7893fa0113f6e5b4afafded55
mtd: atmel-nand: use pmecc_readl(b)/pmecc_writel to access the pmecc register

We defined the macro pmecc_readl(b)/pmecc_writel for pmecc register access.
But in the driver we also use the readl(b)/writel.
To keep consistent, this patch make all use pmecc_readl(b)/pmecc_writel.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Reviewed-by: Andreas Bießmann <andreas.devel@googlemail.com>
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
drivers/mtd/nand/atmel_nand.c
drivers/mtd/nand/atmel_nand_ecc.h