ce491cf854
Move the remaining headers under plat-omap/include/mach to plat-omap/include/plat. Also search and replace the files using these headers to include using the right path. This was done with: #!/bin/bash mach_dir_old="arch/arm/plat-omap/include/mach" plat_dir_new="arch/arm/plat-omap/include/plat" headers=$(cd $mach_dir_old && ls *.h) omap_dirs="arch/arm/*omap*/ \ drivers/video/omap \ sound/soc/omap" other_files="drivers/leds/leds-ams-delta.c \ drivers/mfd/menelaus.c \ drivers/mfd/twl4030-core.c \ drivers/mtd/nand/ams-delta.c" for header in $headers; do old="#include <mach\/$header" new="#include <plat\/$header" for dir in $omap_dirs; do find $dir -type f -name \*.[chS] | \ xargs sed -i "s/$old/$new/" done find drivers/ -type f -name \*omap*.[chS] | \ xargs sed -i "s/$old/$new/" for file in $other_files; do sed -i "s/$old/$new/" $file done done for header in $(ls $mach_dir_old/*.h); do git mv $header $plat_dir_new/ done Signed-off-by: Tony Lindgren <tony@atomide.com>
45 lines
1.4 KiB
C
45 lines
1.4 KiB
C
/*:
|
|
* Address mappings and base address for OMAP4 interconnects
|
|
* and peripherals.
|
|
*
|
|
* Copyright (C) 2009 Texas Instruments
|
|
*
|
|
* Author: Santosh Shilimkar <santosh.shilimkar@ti.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
#ifndef __ASM_ARCH_OMAP44XX_H
|
|
#define __ASM_ARCH_OMAP44XX_H
|
|
|
|
/*
|
|
* Please place only base defines here and put the rest in device
|
|
* specific headers.
|
|
*/
|
|
#define L4_44XX_BASE 0x4a000000
|
|
#define L4_WK_44XX_BASE 0x4a300000
|
|
#define L4_PER_44XX_BASE 0x48000000
|
|
#define L4_EMU_44XX_BASE 0x54000000
|
|
#define L3_44XX_BASE 0x44000000
|
|
#define OMAP44XX_EMIF1_BASE 0x4c000000
|
|
#define OMAP44XX_EMIF2_BASE 0x4d000000
|
|
#define OMAP44XX_DMM_BASE 0x4e000000
|
|
#define OMAP4430_32KSYNCT_BASE 0x4a304000
|
|
#define OMAP4430_CM_BASE 0x4a004000
|
|
#define OMAP4430_PRM_BASE 0x48306000
|
|
#define OMAP44XX_GPMC_BASE 0x50000000
|
|
#define OMAP443X_SCM_BASE 0x4a002000
|
|
#define OMAP443X_CTRL_BASE OMAP443X_SCM_BASE
|
|
#define OMAP44XX_IC_BASE 0x48200000
|
|
#define OMAP44XX_IVA_INTC_BASE 0x40000000
|
|
#define IRQ_SIR_IRQ 0x0040
|
|
#define OMAP44XX_GIC_DIST_BASE 0x48241000
|
|
#define OMAP44XX_GIC_CPU_BASE 0x48240100
|
|
#define OMAP44XX_SCU_BASE 0x48240000
|
|
#define OMAP44XX_LOCAL_TWD_BASE 0x48240600
|
|
#define OMAP44XX_WKUPGEN_BASE 0x48281000
|
|
|
|
#endif /* __ASM_ARCH_OMAP44XX_H */
|
|
|