[PATCH v3 0/5] ARM: davinci: re-arrange definitions to have a common davinci header

Manjunath Hadli manjunath.hadli at ti.com
Thu Nov 17 05:18:53 EST 2011


Re-arrange definitions and remove unnecessary code so that we can
have a common header for all davinci platforms. This will enable
us to share defines and enable common routines to be used without
polluting hardware.h.
 This patch set forms the base for a later set of patches for having
a common system module base address (DAVINCI_SYSTEM_MODULE_BASE).

Changes from previous version(As per Sergei's comments):
1. Renamed davinci_common.h to davinci.h.
2. Added extra line whereever appropriate.
3. removed unnecessary header inclusion.

Manjunath Hadli (5):
  ARM: davinci: dm644x: remove the macros from the header to move to c
    file
  ARM: davinci: dm365: remove the macros from the header to move to c
    file
  ARM: davinci: dm646x: remove the macros from the header to move to c
    file
  ARM: davinci: create new common platform header for davinci
  ARM: davinci: delete individual platform header files and use a
    common header

 arch/arm/mach-davinci/board-dm355-evm.c      |    2 +-
 arch/arm/mach-davinci/board-dm355-leopard.c  |    2 +-
 arch/arm/mach-davinci/board-dm365-evm.c      |    2 +-
 arch/arm/mach-davinci/board-dm644x-evm.c     |    2 +-
 arch/arm/mach-davinci/board-dm646x-evm.c     |    2 +-
 arch/arm/mach-davinci/board-neuros-osd2.c    |    2 +-
 arch/arm/mach-davinci/board-sffsdr.c         |    2 +-
 arch/arm/mach-davinci/dm355.c                |    2 +-
 arch/arm/mach-davinci/dm365.c                |   18 +++++-
 arch/arm/mach-davinci/dm644x.c               |    9 +++-
 arch/arm/mach-davinci/dm646x.c               |    9 +++-
 arch/arm/mach-davinci/include/mach/davinci.h |   88 ++++++++++++++++++++++++++
 arch/arm/mach-davinci/include/mach/dm355.h   |   32 ---------
 arch/arm/mach-davinci/include/mach/dm365.h   |   52 ---------------
 arch/arm/mach-davinci/include/mach/dm644x.h  |   47 --------------
 arch/arm/mach-davinci/include/mach/dm646x.h  |   41 ------------
 drivers/media/video/davinci/vpif.h           |    3 +-
 drivers/media/video/davinci/vpif_display.c   |    2 +-
 18 files changed, 131 insertions(+), 186 deletions(-)
 create mode 100644 arch/arm/mach-davinci/include/mach/davinci.h
 delete mode 100644 arch/arm/mach-davinci/include/mach/dm355.h
 delete mode 100644 arch/arm/mach-davinci/include/mach/dm365.h
 delete mode 100644 arch/arm/mach-davinci/include/mach/dm644x.h
 delete mode 100644 arch/arm/mach-davinci/include/mach/dm646x.h




More information about the linux-arm-kernel mailing list