Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/arch/arm/plat-omap
Tony Lindgren 3eff851b9d omap: headers: Create headers necessary for compile under mach-omap1 and mach-omap2
Create the headers needed for compiling under
mach-omap1/include/mach and mach-omap2/include/mach.

This was done with the following script:

#!/bin/bash
mach_files="clkdev.h gpio.h hardware.h io.h irqs.h memory.h \
smp.h system.h timex.h uncompress.h vmalloc.h"
omaps="mach-omap1 mach-omap2"

mach_dir_old="arch/arm/plat-omap/include/mach"
plat_dir_new="arch/arm/plat-omap/include/plat"

mkdir -p $plat_dir_new
git add $plat_dir_new

for dir in $omaps; do
	mach_dir_new="arch/arm/$dir/include/mach"
	for header in $mach_files; do
		file="$mach_dir_new/$header"
		if [ ! -f $file ]; then
			echo -ne "/*\n * $file\n */\n\n#include <plat/$header>\n" > $file
			git add $file
			if [ ! -f $plat_dir_new/$header ]; then
				git mv $mach_dir_old/$header $plat_dir_new/$header
			fi
		fi
	done
done

Signed-off-by: Tony Lindgren <tony@atomide.com>
2009-10-19 17:32:58 -07:00
..
include omap: headers: Create headers necessary for compile under mach-omap1 and mach-omap2 2009-10-19 17:32:58 -07:00
clock.c OMAP clock: use debugfs_remove_recursive() for rewinding 2009-09-03 20:14:06 +03:00
common.c omap: Split OMAP2_IO_ADDRESS to L3 and L4 2009-10-19 15:25:31 -07:00
cpu-omap.c OMAP: PM: CPUfreq: obey min/max settings of policy 2009-08-05 09:10:54 -07:00
debug-devices.c ARM: OMAP: Switch to gpio_request/free calls 2008-12-10 17:35:30 -08:00
debug-leds.c ARM: Rework omap suspend_late()/resume_early() 2009-07-22 00:28:38 +02:00
devices.c OMAP7XX: Rename all the rest of the omap730 references in omap1 core 2009-10-07 23:14:06 +01:00
dma.c omap: Use ioremap in dma.c 2009-10-19 15:25:15 -07:00
dmtimer.c omap: Use ioremap in dmtimer.c 2009-10-19 15:25:18 -07:00
fb.c ARM: OMAP: Fix printing of reserved memory for frambuffer 2009-05-11 09:58:19 -07:00
gpio.c omap: Use ioremap in gpio.c 2009-10-19 15:25:20 -07:00
i2c.c ARM: OMAP: Update contact address of I2C registration helper 2009-05-25 11:08:43 -07:00
io.c omap: Add OMAP4 L3 and L4 peripherals. 2009-10-19 17:25:57 -07:00
iommu-debug.c OMAP: iommu: add initial debugfs support 2009-08-28 10:54:41 -07:00
iommu.c OMAP: iommu: add initial debugfs support 2009-08-28 10:54:41 -07:00
iopgtable.h omap iommu: tlb and pagetable primitives 2009-05-05 14:52:39 +03:00
iovmm.c omap: iovmm: Add missing mutex_unlock 2009-10-06 08:31:50 -07:00
Kconfig OMAP2/3 PM: create the OMAP PM interface and add a default OMAP PM no-op layer 2009-09-03 20:14:01 +03:00
mailbox.c block: implement and enforce request peek/start/fetch 2009-05-11 09:52:18 +02:00
Makefile OMAP2/3/4 core: create omap_device layer 2009-09-03 20:14:05 +03:00
mcbsp.c omap: McBSP: Fix incorrect receiver stop in omap_mcbsp_stop 2009-10-14 09:56:35 -07:00
mux.c ARM: OMAP4: Add minimal support for omap4 2009-05-28 14:16:04 -07:00
ocpi.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
omap-pm-noop.c OMAP2/3 PM: create the OMAP PM interface and add a default OMAP PM no-op layer 2009-09-03 20:14:01 +03:00
omap_device.c omap: Use getnstimeofday for omap_device 2009-10-19 15:25:24 -07:00
sram.c omap: Move SRAM map to claim more io space 2009-10-19 17:25:53 -07:00
usb.c OMAP7XX: Replace omap730 references in irqs.h and all users 2009-10-07 23:14:06 +01:00