[U-Boot] [PATCH v1 0/5] mtd: nand: omap: clean omap_gpmc.h headers

Pekon Gupta pekon at ti.com
Fri Nov 22 12:17:41 CET 2013


This patch series aims are cleaning and consolidationg GPMC declarations
and macros in common file by:

(1) Merges multiple omap_gpmc.h header files
 - arch/arm/include/asm/arch-xx/omap_gpmc.h: for individual SoC platform
 - arch/arm/include/asm/arch/omap_gpmc.h: common for all ARM SoC platform

(2) removes legacy board configs and #defines macros which are no more used

(3) consolidate common GPMC macros and declarations spread in platform specific
    header files. (like arch/arm/include/asm/arch-xx/cpu.h)

(4) move consolidate header file arch/omap_gpmc.h to linux/mtd/omap_gpmc.h
    to make it architecture independent

(5) move arch/omap_elm.h to linux/mtd/omap_elm.h)
    to make it architecture independent

This patch series is build tested using following utility
./MAKEALL -s am33xx -s omap3 -s omap4 -s omap5

Note: Though this patch series is functionally independent. But it should be
      applied above previous series given below, otherwise there would be 
      minor conflict seen in file arch/arm/include/asm/omap_gpmc.h
	http://lists.denx.de/pipermail/u-boot/2013-November/167445.html


Pekon Gupta (5):
  mtd: nand: omap: remove redundant platform specific header:
    arch-xx/omap_gpmc.h
  mtd: nand: omap: remove unused #defines from common omap_gpmc.h
  mtd: nand: omap: merge duplicate GPMC data from different arch-xx
    headers into common omap_gpmc.h
  mtd: nand: omap: move omap_gpmc.h from arch/arm/include/asm to
    drivers/mtd/nand
  mtd: nand: omap: move omap_elm.h from arch/arm/include/asm to
    drivers/mtd/nand

 arch/arm/include/asm/arch-am33xx/cpu.h             | 51 -------------
 arch/arm/include/asm/arch-am33xx/omap_gpmc.h       | 48 -------------
 arch/arm/include/asm/arch-am33xx/sys_proto.h       |  1 +
 arch/arm/include/asm/arch-omap3/cpu.h              | 54 +-------------
 arch/arm/include/asm/arch-omap3/mem.h              | 10 +++
 arch/arm/include/asm/arch-omap3/omap_gpmc.h        | 36 ----------
 arch/arm/include/asm/arch-omap3/sys_proto.h        |  1 +
 arch/arm/include/asm/arch-omap4/cpu.h              | 45 ------------
 arch/arm/include/asm/arch-omap4/sys_proto.h        |  1 +
 arch/arm/include/asm/arch-omap5/cpu.h              | 45 ------------
 arch/arm/include/asm/arch-omap5/sys_proto.h        |  1 +
 arch/arm/include/asm/omap_gpmc.h                   | 80 ---------------------
 board/isee/igep00x0/igep00x0.c                     |  1 -
 board/overo/overo.c                                |  1 -
 drivers/mtd/nand/omap_elm.c                        |  6 +-
 drivers/mtd/nand/omap_gpmc.c                       |  5 +-
 include/configs/am335x_evm.h                       |  1 -
 include/configs/am335x_igep0033.h                  |  1 -
 include/configs/am3517_crane.h                     |  1 -
 include/configs/am3517_evm.h                       |  1 -
 include/configs/cm_t35.h                           |  2 -
 include/configs/devkit8000.h                       |  2 -
 include/configs/dig297.h                           |  2 -
 include/configs/mcx.h                              |  1 -
 include/configs/omap3_beagle.h                     |  2 -
 include/configs/omap3_evm_common.h                 |  1 -
 include/configs/omap3_igep00x0.h                   |  1 -
 include/configs/omap3_logic.h                      |  1 -
 include/configs/omap3_overo.h                      |  2 -
 include/configs/omap3_pandora.h                    |  2 -
 include/configs/omap3_zoom1.h                      |  2 -
 include/configs/omap3_zoom2.h                      |  1 -
 include/configs/siemens-am33x-common.h             |  1 -
 include/configs/tam3517-common.h                   |  1 -
 include/configs/tricorder.h                        |  2 -
 .../include/asm => include/linux/mtd}/omap_elm.h   |  0
 include/linux/mtd/omap_gpmc.h                      | 84 ++++++++++++++++++++++
 37 files changed, 104 insertions(+), 393 deletions(-)
 delete mode 100644 arch/arm/include/asm/arch-am33xx/omap_gpmc.h
 delete mode 100644 arch/arm/include/asm/arch-omap3/omap_gpmc.h
 delete mode 100644 arch/arm/include/asm/omap_gpmc.h
 rename {arch/arm/include/asm => include/linux/mtd}/omap_elm.h (100%)
 create mode 100644 include/linux/mtd/omap_gpmc.h

-- 
1.8.1



More information about the U-Boot mailing list