summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-omap5/omap.h
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2014-11-06 08:28:51 -0600
committerTom Rini <trini@ti.com>2014-12-04 11:04:14 -0500
commitd11ac4b56d993153f9d72208809060f3b6c9af76 (patch)
tree7312d30ed0c88ec4f0cc9236f493fcb7ab4b30f4 /arch/arm/include/asm/arch-omap5/omap.h
parent56fe405516ba94df62b57928a8e281b0a5a71313 (diff)
downloadtalos-obmc-uboot-d11ac4b56d993153f9d72208809060f3b6c9af76.tar.gz
talos-obmc-uboot-d11ac4b56d993153f9d72208809060f3b6c9af76.zip
arm: omap: add support for am57xx devices
just add a few ifdefs around because this device is very similar to dra7xxx. Signed-off-by: Felipe Balbi <balbi@ti.com> Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/include/asm/arch-omap5/omap.h')
-rw-r--r--arch/arm/include/asm/arch-omap5/omap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/include/asm/arch-omap5/omap.h b/arch/arm/include/asm/arch-omap5/omap.h
index b9600cf42d..e2181598d5 100644
--- a/arch/arm/include/asm/arch-omap5/omap.h
+++ b/arch/arm/include/asm/arch-omap5/omap.h
@@ -27,7 +27,7 @@
#define CONTROL_CORE_ID_CODE 0x4A002204
#define CONTROL_WKUP_ID_CODE 0x4AE0C204
-#ifdef CONFIG_DRA7XX
+#if defined(CONFIG_DRA7XX) || defined(CONFIG_AM57XX)
#define CONTROL_ID_CODE CONTROL_WKUP_ID_CODE
#else
#define CONTROL_ID_CODE CONTROL_CORE_ID_CODE
@@ -163,7 +163,7 @@ struct s32ktimer {
* much larger) and do not, at this time, make use of the additional
* space.
*/
-#ifdef CONFIG_DRA7XX
+#if defined(CONFIG_DRA7XX) || defined(CONFIG_AM57XX)
#define NON_SECURE_SRAM_START 0x40300000
#define NON_SECURE_SRAM_END 0x40380000 /* Not inclusive */
#else
OpenPOWER on IntegriCloud