original_kernel/arch/arm/mach-omap1
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/mach omap: headers: Create headers necessary for compile under mach-omap1 and mach-omap2 2009-10-19 17:32:58 -07:00
Kconfig
Makefile
Makefile.boot
board-ams-delta.c OMAP1: AMS_DELTA: add modem support 2009-08-28 10:51:37 -07:00
board-fsample.c OMAP7XX: Replace omap730 references in irqs.h and all users 2009-10-07 23:14:06 +01:00
board-generic.c OMAP: UART: drop OMAP_TAG_UART, enable all UARTs, auto-disabled on idle 2009-08-28 10:51:31 -07:00
board-h2-mmc.c
board-h2.c OMAP: UART: drop OMAP_TAG_UART, enable all UARTs, auto-disabled on idle 2009-08-28 10:51:31 -07:00
board-h2.h
board-h3-mmc.c
board-h3.c OMAP: UART: drop OMAP_TAG_UART, enable all UARTs, auto-disabled on idle 2009-08-28 10:51:31 -07:00
board-h3.h
board-innovator.c OMAP: UART: drop OMAP_TAG_UART, enable all UARTs, auto-disabled on idle 2009-08-28 10:51:31 -07:00
board-nokia770.c
board-osk.c OMAP: UART: drop OMAP_TAG_UART, enable all UARTs, auto-disabled on idle 2009-08-28 10:51:31 -07:00
board-palmte.c OMAP: UART: drop OMAP_TAG_UART, enable all UARTs, auto-disabled on idle 2009-08-28 10:51:31 -07:00
board-palmtt.c OMAP: UART: drop OMAP_TAG_UART, enable all UARTs, auto-disabled on idle 2009-08-28 10:51:31 -07:00
board-palmz71.c OMAP: UART: drop OMAP_TAG_UART, enable all UARTs, auto-disabled on idle 2009-08-28 10:51:31 -07:00
board-perseus2.c OMAP7XX: Replace omap730 references in irqs.h and all users 2009-10-07 23:14:06 +01:00
board-sx1-mmc.c
board-sx1.c OMAP: UART: drop OMAP_TAG_UART, enable all UARTs, auto-disabled on idle 2009-08-28 10:51:31 -07:00
board-voiceblue.c OMAP: UART: drop OMAP_TAG_UART, enable all UARTs, auto-disabled on idle 2009-08-28 10:51:31 -07:00
clock.c OMAP7XX: Clocks: Add ck_ref and armxor 2009-10-07 23:14:08 +01:00
clock.h
devices.c
fpga.c
id.c omap: Fix wrong jtag_id for 850 2009-09-24 16:23:13 -07:00
io.c OMAP7XX: Rename all the rest of the omap730 references in omap1 core 2009-10-07 23:14:06 +01:00
irq.c OMAP7XX: Rename all the rest of the omap730 references in omap1 core 2009-10-07 23:14:06 +01:00
leds-h2p2-debug.c
leds-innovator.c
leds-osk.c
leds.c
leds.h
mailbox.c
mcbsp.c OMAP7XX: Rename all the rest of the omap730 references in omap1 core 2009-10-07 23:14:06 +01:00
mux.c OMAP7XX: Rename all the rest of the omap730 references in omap1 core 2009-10-07 23:14:06 +01:00
pm.c OMAP7XX: Rename all the rest of the omap730 references in omap1 core 2009-10-07 23:14:06 +01:00
pm.h OMAP850: PM: Add an ARCH_OMAP850 check 2009-10-07 23:14:08 +01:00
serial.c omap: Change low-level serial init to use ioremap 2009-10-16 09:53:00 -07:00
sleep.S OMAP7XX: Rename all the rest of the omap730 references in omap1 core 2009-10-07 23:14:06 +01:00
sram.S
time.c
timer32k.c