summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap/include/mach/omap4-devices.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap/include/mach/omap4-devices.h')
-rw-r--r--arch/arm/mach-omap/include/mach/omap4-devices.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-omap/include/mach/omap4-devices.h b/arch/arm/mach-omap/include/mach/omap4-devices.h
index 448de6824e..df0694f9fa 100644
--- a/arch/arm/mach-omap/include/mach/omap4-devices.h
+++ b/arch/arm/mach-omap/include/mach/omap4-devices.h
@@ -8,6 +8,11 @@
#include <mach/mcspi.h>
#include <mach/omap_hsmmc.h>
+static inline void omap44xx_add_sram0(void)
+{
+ return omap_add_sram0(OMAP44XX_SRAM_BASE, 48 * SZ_1K);
+}
+
static inline struct device_d *omap44xx_add_uart1(void)
{
return omap_add_uart(0, OMAP44XX_UART1_BASE);