Commit 732231a7c04f334e69af89454073f7a23405468b

Authored by Tony Lindgren
1 parent c1db9d735c

ARM: OMAP2+: Make omap-wakeupgen.h local

This can be local to mach-omap2.

Signed-off-by: Tony Lindgren <tony@atomide.com>

Showing 6 changed files with 42 additions and 42 deletions Side-by-side Diff

arch/arm/mach-omap2/include/mach/omap-wakeupgen.h
1   -/*
2   - * OMAP WakeupGen header file
3   - *
4   - * Copyright (C) 2011 Texas Instruments, Inc.
5   - * Santosh Shilimkar <santosh.shilimkar@ti.com>
6   - *
7   - * This program is free software; you can redistribute it and/or modify
8   - * it under the terms of the GNU General Public License version 2 as
9   - * published by the Free Software Foundation.
10   - */
11   -#ifndef OMAP_ARCH_WAKEUPGEN_H
12   -#define OMAP_ARCH_WAKEUPGEN_H
13   -
14   -/* OMAP4 and OMAP5 has same base address */
15   -#define OMAP_WKUPGEN_BASE 0x48281000
16   -
17   -#define OMAP_WKG_CONTROL_0 0x00
18   -#define OMAP_WKG_ENB_A_0 0x10
19   -#define OMAP_WKG_ENB_B_0 0x14
20   -#define OMAP_WKG_ENB_C_0 0x18
21   -#define OMAP_WKG_ENB_D_0 0x1c
22   -#define OMAP_WKG_ENB_E_0 0x20
23   -#define OMAP_WKG_ENB_A_1 0x410
24   -#define OMAP_WKG_ENB_B_1 0x414
25   -#define OMAP_WKG_ENB_C_1 0x418
26   -#define OMAP_WKG_ENB_D_1 0x41c
27   -#define OMAP_WKG_ENB_E_1 0x420
28   -#define OMAP_AUX_CORE_BOOT_0 0x800
29   -#define OMAP_AUX_CORE_BOOT_1 0x804
30   -#define OMAP_PTMSYNCREQ_MASK 0xc00
31   -#define OMAP_PTMSYNCREQ_EN 0xc04
32   -#define OMAP_TIMESTAMPCYCLELO 0xc08
33   -#define OMAP_TIMESTAMPCYCLEHI 0xc0c
34   -
35   -extern int __init omap_wakeupgen_init(void);
36   -extern void __iomem *omap_get_wakeupgen_base(void);
37   -extern int omap_secure_apis_support(void);
38   -#endif
arch/arm/mach-omap2/omap-hotplug.c
... ... @@ -20,7 +20,7 @@
20 20 #include <linux/io.h>
21 21  
22 22 #include <asm/cacheflush.h>
23   -#include <mach/omap-wakeupgen.h>
  23 +#include "omap-wakeupgen.h"
24 24  
25 25 #include "common.h"
26 26  
arch/arm/mach-omap2/omap-smp.c
... ... @@ -25,7 +25,7 @@
25 25 #include <asm/smp_scu.h>
26 26  
27 27 #include "omap-secure.h"
28   -#include <mach/omap-wakeupgen.h>
  28 +#include "omap-wakeupgen.h"
29 29 #include <asm/cputype.h>
30 30  
31 31 #include "soc.h"
arch/arm/mach-omap2/omap-wakeupgen.c
... ... @@ -27,7 +27,7 @@
27 27  
28 28 #include <asm/hardware/gic.h>
29 29  
30   -#include <mach/omap-wakeupgen.h>
  30 +#include "omap-wakeupgen.h"
31 31 #include "omap-secure.h"
32 32  
33 33 #include "soc.h"
arch/arm/mach-omap2/omap-wakeupgen.h
  1 +/*
  2 + * OMAP WakeupGen header file
  3 + *
  4 + * Copyright (C) 2011 Texas Instruments, Inc.
  5 + * Santosh Shilimkar <santosh.shilimkar@ti.com>
  6 + *
  7 + * This program is free software; you can redistribute it and/or modify
  8 + * it under the terms of the GNU General Public License version 2 as
  9 + * published by the Free Software Foundation.
  10 + */
  11 +#ifndef OMAP_ARCH_WAKEUPGEN_H
  12 +#define OMAP_ARCH_WAKEUPGEN_H
  13 +
  14 +/* OMAP4 and OMAP5 has same base address */
  15 +#define OMAP_WKUPGEN_BASE 0x48281000
  16 +
  17 +#define OMAP_WKG_CONTROL_0 0x00
  18 +#define OMAP_WKG_ENB_A_0 0x10
  19 +#define OMAP_WKG_ENB_B_0 0x14
  20 +#define OMAP_WKG_ENB_C_0 0x18
  21 +#define OMAP_WKG_ENB_D_0 0x1c
  22 +#define OMAP_WKG_ENB_E_0 0x20
  23 +#define OMAP_WKG_ENB_A_1 0x410
  24 +#define OMAP_WKG_ENB_B_1 0x414
  25 +#define OMAP_WKG_ENB_C_1 0x418
  26 +#define OMAP_WKG_ENB_D_1 0x41c
  27 +#define OMAP_WKG_ENB_E_1 0x420
  28 +#define OMAP_AUX_CORE_BOOT_0 0x800
  29 +#define OMAP_AUX_CORE_BOOT_1 0x804
  30 +#define OMAP_PTMSYNCREQ_MASK 0xc00
  31 +#define OMAP_PTMSYNCREQ_EN 0xc04
  32 +#define OMAP_TIMESTAMPCYCLELO 0xc08
  33 +#define OMAP_TIMESTAMPCYCLEHI 0xc0c
  34 +
  35 +extern int __init omap_wakeupgen_init(void);
  36 +extern void __iomem *omap_get_wakeupgen_base(void);
  37 +extern int omap_secure_apis_support(void);
  38 +#endif
arch/arm/mach-omap2/omap4-common.c
... ... @@ -29,7 +29,7 @@
29 29 #include <plat/omap-secure.h>
30 30 #include <plat/mmc.h>
31 31  
32   -#include <mach/omap-wakeupgen.h>
  32 +#include "omap-wakeupgen.h"
33 33  
34 34 #include "soc.h"
35 35 #include "common.h"