[PATCH 0/2] atmel_nand: remove cpu_is_xxx() in nand driver

Josh Wu josh.wu at atmel.com
Thu May 9 03:34:53 EDT 2013


avoid to use cpu_is_xxx() macro in driver, we use platform data and dts
for the different cpu.

Josh Wu (2):
  atmel_nand: at91/avr32/: Replace cpu_is_at32ap7000() with a nand
    platform data
  mtd: atmel_nand: add a new dt binding item for nand dma support

 .../devicetree/bindings/mtd/atmel-nand.txt         |    1 +
 arch/avr32/mach-at32ap/at32ap700x.c                |    3 +++
 drivers/mtd/nand/atmel_nand.c                      |   24 ++++++++------------
 include/linux/platform_data/atmel.h                |    4 ++++
 4 files changed, 17 insertions(+), 15 deletions(-)

-- 
1.7.9.5




More information about the linux-mtd mailing list