Skip to content

Fix relative includes for omaps introduced by recent clean-up

Tony Lindgren linux-arm-kernel linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11ARM: OMAP: Split sram.h to local headers and minimal shared headerarch/arm/mach-omap1/clock.c arch/arm/mach-omap1/clock_data.c arch/arm/mach-omap1/devices.c +15 more+39 -550 replies
2/11ARM: OMAP: Introduce common omap_map_sram() and omap_sram_reset()arch/arm/plat-omap/include/plat/sram.h arch/arm/plat-omap/sram.c+46 -220 replies
3/11ARM: OMAP: Move omap1 specific code to local sram.carch/arm/mach-omap1/Makefile arch/arm/mach-omap1/sram-init.c arch/arm/plat-omap/sram.c+81 -470 replies
4/11ARM: OMAP: Move omap2+ specific parts of sram.c to mach-omap2arch/arm/mach-omap2/Makefile arch/arm/mach-omap2/sram.c arch/arm/plat-omap/sram.c+306 -2890 replies
4/11ARM: OMAP: Move omap2+ specific parts of sram.c to mach-omap2arch/arm/mach-omap2/omap4-common.c+1 -00 replies
5/11ARM: OMAP: Make plat-omap/i2c.c port checks localarch/arm/mach-omap1/i2c.c arch/arm/mach-omap2/i2c.c arch/arm/plat-omap/i2c.c+22 -230 replies
6/11ARM: OMAP: Fix relative includes for shared i2c.h filearch/arm/mach-omap1/common.h arch/arm/mach-omap1/i2c.c arch/arm/mach-omap2/i2c.h +2 more+5 -50 replies
7/11ARM: OMAP: Move omap-pm-noop.c local to mach-omap2arch/arm/mach-omap2/Makefile arch/arm/mach-omap2/omap-pm-noop.c arch/arm/mach-omap2/timer.c +3 more+17 -100 replies
7/11ARM: OMAP: Move omap-pm-noop.c local to mach-omap2drivers/media/platform/omap3isp/ispvideo.c+0 -11 reply
7/11ARM: OMAP: Move omap-pm-noop.c local to mach-omap2+0 -01 reply
7/11ARM: OMAP: Move omap-pm-noop.c local to mach-omap2+0 -00 replies
8/11ARM: OMAP: Remove plat-omap/common.harch/arm/mach-omap1/common.h arch/arm/mach-omap1/timer32k.c arch/arm/mach-omap2/cm33xx.c +10 more+6 -510 replies
9/11ARM: OMAP: Fix relative includes for debug-devices.harch/arm/mach-omap2/board-h4.c arch/arm/plat-omap/debug-devices.c arch/arm/plat-omap/include/plat/debug-devices.h+2 -91 reply
10/11ARM: OMAP: Remove cpu_is_omap usage from plat-omap/dma.carch/arm/mach-omap1/dma.c arch/arm/mach-omap2/dma.c arch/arm/plat-omap/dma.c +2 more+73 -660 replies
11/11ARM: OMAP1: Remove relative includesarch/arm/mach-omap1/include/mach/entry-macro.S arch/arm/mach-omap1/include/mach/hardware.h arch/arm/mach-omap1/include/mach/memory.h +4 more+238 -2340 replies
11/11ARM: OMAP1: Remove relative includesarch/arm/plat-omap/include/plat/cpu.h+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/11] Fix relative includes for omaps introduced by recent clean-up

Hi all,

As discussed on this list, here are fixes to get rid of the relative includes for omap that got introduced with the recent clean-up.

This is based on what I have queued up in the omap-for-v3.8/cleanup-headers branch at commit 986bfa5c.

Note that this series introduces few new plat/*.h files. However, those files will not be used by the drivers:

sram.h
i2c.h
counter-32k.h
debug-devices.h

We still want to remove the remaining problem plat headers as they are wrongly shared between drivers and core omap code:

iommu2.h
iommu.h
iopgtable.h
iovmm.h
mailbox.h
omap-serial.h
prcm.h
vram.h

These headers will not work for omap2+ drivers when we have CONFIG_MULTIPLATFORM set.

Regards,

Tony

---

Tony Lindgren (11):
ARM: OMAP: Split sram.h to local headers and minimal shared header
ARM: OMAP: Introduce common omap_map_sram() and omap_sram_reset()
ARM: OMAP: Move omap1 specific code to local sram.c
ARM: OMAP: Move omap2+ specific parts of sram.c to mach-omap2
ARM: OMAP: Make plat-omap/i2c.c port checks local
ARM: OMAP: Fix relative includes for shared i2c.h file
ARM: OMAP: Move omap-pm-noop.c local to mach-omap2
ARM: OMAP: Remove plat-omap/common.h
ARM: OMAP: Fix relative includes for debug-devices.h
ARM: OMAP: Remove cpu_is_omap usage from plat-omap/dma.c
ARM: OMAP1: Remove relative includes

 arch/arm/mach-omap1/Makefile                       |    3 
 arch/arm/mach-omap1/clock.c                        |    3 
 arch/arm/mach-omap1/clock_data.c                   |    3 
 arch/arm/mach-omap1/common.h                       |    3 
 arch/arm/mach-omap1/devices.c                      |    3 
 arch/arm/mach-omap1/dma.c                          |    3 
 arch/arm/mach-omap1/i2c.c                          |    5 
 arch/arm/mach-omap1/include/mach/entry-macro.S     |    2 
 arch/arm/mach-omap1/include/mach/hardware.h        |    5 
 arch/arm/mach-omap1/include/mach/memory.h          |    2 
 arch/arm/mach-omap1/include/mach/soc.h             |  229 +++++++++++++
 arch/arm/mach-omap1/iomap.h                        |    3 
 arch/arm/mach-omap1/pm.c                           |    4 
 arch/arm/mach-omap1/sleep.S                        |    2 
 arch/arm/mach-omap1/soc.h                          |  229 -------------
 arch/arm/mach-omap1/sram-init.c                    |   76 ++++
 arch/arm/mach-omap1/sram.h                         |    7 
 arch/arm/mach-omap1/timer32k.c                     |    1 
 arch/arm/mach-omap2/Makefile                       |    3 
 arch/arm/mach-omap2/board-h4.c                     |    2 
 arch/arm/mach-omap2/clkt2xxx_dpllcore.c            |    3 
 arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c       |    3 
 arch/arm/mach-omap2/clkt34xx_dpll3m2.c             |    3 
 arch/arm/mach-omap2/cm33xx.c                       |    2 
 arch/arm/mach-omap2/common.h                       |    5 
 arch/arm/mach-omap2/dma.c                          |    3 
 arch/arm/mach-omap2/i2c.c                          |   16 +
 arch/arm/mach-omap2/i2c.h                          |    2 
 arch/arm/mach-omap2/io.c                           |    3 
 arch/arm/mach-omap2/omap-pm-noop.c                 |    4 
 arch/arm/mach-omap2/omap4-common.c                 |    2 
 .../mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c |    2 
 arch/arm/mach-omap2/omap_hwmod_44xx_data.c         |    2 
 arch/arm/mach-omap2/pm24xx.c                       |    5 
 arch/arm/mach-omap2/pm34xx.c                       |    4 
 arch/arm/mach-omap2/prm33xx.c                      |    2 
 arch/arm/mach-omap2/prm_common.c                   |    1 
 arch/arm/mach-omap2/sdrc.c                         |    2 
 arch/arm/mach-omap2/sdrc2xxx.c                     |    3 
 arch/arm/mach-omap2/sleep34xx.S                    |    3 
 arch/arm/mach-omap2/sram.c                         |  305 +++++++++++++++++
 arch/arm/mach-omap2/sram.h                         |   26 -
 arch/arm/mach-omap2/timer.c                        |    3 
 arch/arm/plat-omap/Makefile                        |    1 
 arch/arm/plat-omap/common.c                        |    1 
 arch/arm/plat-omap/common.h                        |   36 --
 arch/arm/plat-omap/counter_32k.c                   |    2 
 arch/arm/plat-omap/debug-devices.c                 |    2 
 arch/arm/plat-omap/dma.c                           |  108 +++---
 arch/arm/plat-omap/dmtimer.c                       |   17 +
 arch/arm/plat-omap/i2c.c                           |   30 --
 arch/arm/plat-omap/include/plat-omap/dma-omap.h    |   19 +
 arch/arm/plat-omap/include/plat/counter-32k.h      |    1 
 arch/arm/plat-omap/include/plat/debug-devices.h    |    7 
 arch/arm/plat-omap/include/plat/dmtimer.h          |    2 
 arch/arm/plat-omap/include/plat/i2c.h              |    0 
 arch/arm/plat-omap/include/plat/sram.h             |   16 +
 arch/arm/plat-omap/sram.c                          |  366 ++------------------
 drivers/dma/omap-dma.c                             |    6 
 59 files changed, 815 insertions(+), 791 deletions(-)
 create mode 100644 arch/arm/mach-omap1/include/mach/soc.h
 create mode 100644 arch/arm/mach-omap1/sram-init.c
 create mode 100644 arch/arm/mach-omap1/sram.h
 rename arch/arm/{plat-omap/omap-pm-noop.c => mach-omap2/omap-pm-noop.c} (99%)
 create mode 100644 arch/arm/mach-omap2/sram.c
 rename arch/arm/{plat-omap/sram.h => mach-omap2/sram.h} (79%)
 delete mode 100644 arch/arm/plat-omap/common.h
 create mode 100644 arch/arm/plat-omap/include/plat/counter-32k.h
 rename arch/arm/{mach-omap2/debug-devices.h => plat-omap/include/plat/debug-devices.h} (54%)
 rename arch/arm/plat-omap/{i2c.h => include/plat/i2c.h} (100%)
 create mode 100644 arch/arm/plat-omap/include/plat/sram.h
Signature · 1 line
Signature