[U-Boot] mtd: atmel-nand: use pmecc_readl(b)/pmecc_writel to access the pmecc register
Andreas Bießmann
andreas.devel at googlemail.com
Fri Sep 19 08:31:04 CEST 2014
Dear Josh Wu,
Josh Wu <Josh.wu at atmel.com> writes:
>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 at atmel.com>
>Reviewed-by: Andreas Bießmann <andreas.devel at googlemail.com>
>---
> drivers/mtd/nand/atmel_nand.c | 21 +++++++++++----------
> drivers/mtd/nand/atmel_nand_ecc.h | 3 +++
> 2 files changed, 14 insertions(+), 10 deletions(-)
applied to u-boot-atmel/master, thanks!
Best regards,
Andreas Bießmann
More information about the U-Boot
mailing list