[PATCH 1/2] atmel_nand: at91/avr32/: Replace cpu_is_at32ap7000() with a nand platform data
Hans-Christian Egtvedt
egtvedt at samfundet.no
Thu May 9 14:12:40 EDT 2013
Around Thu 09 May 2013 15:34:54 +0800 or thereabout, Josh Wu wrote:
> The nand driver use cpu_is_at32ap7000() macro for a workaround. For the
> multi-platform support, we will remove this cpu_is_xxx() macro.
>
> This patch adds a boolean variable need_reset_workaround in structure
> atmel_nand_data. Using this variable we can remove cpu_is_at32ap7000() macro.
>
> Signed-off-by: Josh Wu <josh.wu at atmel.com>
> Cc: Hans-Christian Egtvedt <egtvedt at samfundet.no>
Acked-by: Hans-Christian Egtvedt <egtvedt at samfundet.no>
> ---
> arch/avr32/mach-at32ap/at32ap700x.c | 3 +++
> drivers/mtd/nand/atmel_nand.c | 13 ++++++-------
> include/linux/platform_data/atmel.h | 3 +++
> 3 files changed, 12 insertions(+), 7 deletions(-)
Feel free to push this through the mtd tree, if they won't accept it I'm
working on getting my workflow up on the linux-avr32.git tree.
<snipp diff>
--
HcE
More information about the linux-arm-kernel
mailing list