aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuss Dill2013-08-20 09:09:38 -0500
committerRuss Dill2013-08-23 06:19:22 -0500
commit2d8923df4d3a4733a12a7b699ec5bbe61bfbd287 (patch)
treed9ec75b04f9e316a1d221004413fbb954d8f9c8d
parentc2b73906527d23e644f1de64756c4e26b9446ff7 (diff)
downloadti-amx3-cm3-pm-firmware-2d8923df4d3a4733a12a7b699ec5bbe61bfbd287.tar.gz
ti-amx3-cm3-pm-firmware-2d8923df4d3a4733a12a7b699ec5bbe61bfbd287.tar.xz
ti-amx3-cm3-pm-firmware-2d8923df4d3a4733a12a7b699ec5bbe61bfbd287.zip
CM3: Rename device_am335x.h device_common.h
Now that device_am335x only contains macros that are common between am335x and am43xx, rename it to reflect such. Signed-off-by: Russ Dill <Russ.Dill@ti.com>
-rw-r--r--src/foundation/exception_handlers.c2
-rw-r--r--src/foundation/rtc.c2
-rw-r--r--src/include/device_common.h (renamed from src/include/device_am335x.h)4
-rw-r--r--src/pm_services/ddr.c2
-rw-r--r--src/pm_services/dpll_335x.c2
-rw-r--r--src/pm_services/i2c.c2
-rw-r--r--src/pm_services/pm_handlers.c2
-rw-r--r--src/pm_services/prcm_core.c2
-rw-r--r--src/sys_exec/msg.c2
9 files changed, 10 insertions, 10 deletions
diff --git a/src/foundation/exception_handlers.c b/src/foundation/exception_handlers.c
index 14c3828a0c8b..7c772be27b42 100644
--- a/src/foundation/exception_handlers.c
+++ b/src/foundation/exception_handlers.c
@@ -12,7 +12,7 @@
12 12
13#include <stdint.h> 13#include <stdint.h>
14 14
15#include <device_am335x.h> 15#include <device_common.h>
16 16
17/* Will be extended in the future as and when required */ 17/* Will be extended in the future as and when required */
18void nmi_handler(void) 18void nmi_handler(void)
diff --git a/src/foundation/rtc.c b/src/foundation/rtc.c
index c3cacd6a216b..43b8ca1b6378 100644
--- a/src/foundation/rtc.c
+++ b/src/foundation/rtc.c
@@ -10,7 +10,7 @@
10 * software download. 10 * software download.
11*/ 11*/
12 12
13#include <device_am335x.h> 13#include <device_common.h>
14#include <io.h> 14#include <io.h>
15#include <clockdomain.h> 15#include <clockdomain.h>
16#include <rtc.h> 16#include <rtc.h>
diff --git a/src/include/device_am335x.h b/src/include/device_common.h
index bf844cda226a..978731061044 100644
--- a/src/include/device_am335x.h
+++ b/src/include/device_common.h
@@ -10,8 +10,8 @@
10 * software download. 10 * software download.
11*/ 11*/
12 12
13#ifndef __DEVICE_AM335X_H__ 13#ifndef __DEVICE_COMMON_H__
14#define __DEVICE_AM335X_H__ 14#define __DEVICE_COMMON_H__
15 15
16#define PRCM_BASE 0x44E00000 16#define PRCM_BASE 0x44E00000
17#define DMTIMER_BASE 0x44E05000 17#define DMTIMER_BASE 0x44E05000
diff --git a/src/pm_services/ddr.c b/src/pm_services/ddr.c
index 9b94812a0ed4..20a73e54b120 100644
--- a/src/pm_services/ddr.c
+++ b/src/pm_services/ddr.c
@@ -10,7 +10,7 @@
10 * software download. 10 * software download.
11*/ 11*/
12 12
13#include <device_am335x.h> 13#include <device_common.h>
14#include <io.h> 14#include <io.h>
15#include <prcm.h> 15#include <prcm.h>
16#include <prcm_core.h> 16#include <prcm_core.h>
diff --git a/src/pm_services/dpll_335x.c b/src/pm_services/dpll_335x.c
index 8b0d2009a1d4..02c2e69b31d5 100644
--- a/src/pm_services/dpll_335x.c
+++ b/src/pm_services/dpll_335x.c
@@ -10,7 +10,7 @@
10 * software download. 10 * software download.
11*/ 11*/
12 12
13#include <device_am335x.h> 13#include <device_common.h>
14#include <prcm.h> 14#include <prcm.h>
15#include <dpll.h> 15#include <dpll.h>
16#include <dpll_335x.h> 16#include <dpll_335x.h>
diff --git a/src/pm_services/i2c.c b/src/pm_services/i2c.c
index 795adc26cde4..11e8e252946c 100644
--- a/src/pm_services/i2c.c
+++ b/src/pm_services/i2c.c
@@ -10,7 +10,7 @@
10 * software download. 10 * software download.
11*/ 11*/
12 12
13#include <device_am335x.h> 13#include <device_common.h>
14#include <io.h> 14#include <io.h>
15#include <prcm.h> 15#include <prcm.h>
16#include <i2c.h> 16#include <i2c.h>
diff --git a/src/pm_services/pm_handlers.c b/src/pm_services/pm_handlers.c
index 7c498b59e9a5..85e4ba766958 100644
--- a/src/pm_services/pm_handlers.c
+++ b/src/pm_services/pm_handlers.c
@@ -14,7 +14,7 @@
14 14
15#include <cm3.h> 15#include <cm3.h>
16#include <device_cm3.h> 16#include <device_cm3.h>
17#include <device_am335x.h> 17#include <device_common.h>
18#include <io.h> 18#include <io.h>
19#include <prcm_core.h> 19#include <prcm_core.h>
20#include <msg.h> 20#include <msg.h>
diff --git a/src/pm_services/prcm_core.c b/src/pm_services/prcm_core.c
index 75c96c72d2d2..0e8d552f7bac 100644
--- a/src/pm_services/prcm_core.c
+++ b/src/pm_services/prcm_core.c
@@ -15,7 +15,7 @@
15#include <stddef.h> 15#include <stddef.h>
16#include <cm3.h> 16#include <cm3.h>
17#include <device_cm3.h> 17#include <device_cm3.h>
18#include <device_am335x.h> 18#include <device_common.h>
19#include <io.h> 19#include <io.h>
20#include <prcm_core.h> 20#include <prcm_core.h>
21#include <hwmod.h> 21#include <hwmod.h>
diff --git a/src/sys_exec/msg.c b/src/sys_exec/msg.c
index 93b31a2b7da8..2740dd744f3c 100644
--- a/src/sys_exec/msg.c
+++ b/src/sys_exec/msg.c
@@ -13,7 +13,7 @@
13#include <stdint.h> 13#include <stdint.h>
14 14
15#include <stddef.h> 15#include <stddef.h>
16#include <device_am335x.h> 16#include <device_common.h>
17#include <io.h> 17#include <io.h>
18#include <prcm_core.h> 18#include <prcm_core.h>
19#include <msg.h> 19#include <msg.h>