18a8f084eSChandan Nath /* 28a8f084eSChandan Nath * omap.h 38a8f084eSChandan Nath * 48a8f084eSChandan Nath * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/ 58a8f084eSChandan Nath * 68a8f084eSChandan Nath * Author: 78a8f084eSChandan Nath * Chandan Nath <chandan.nath@ti.com> 88a8f084eSChandan Nath * 98a8f084eSChandan Nath * Derived from OMAP4 work by 108a8f084eSChandan Nath * Aneesh V <aneesh@ti.com> 118a8f084eSChandan Nath * 128a8f084eSChandan Nath * This program is free software; you can redistribute it and/or 138a8f084eSChandan Nath * modify it under the terms of the GNU General Public License as 148a8f084eSChandan Nath * published by the Free Software Foundation; either version 2 of 158a8f084eSChandan Nath * the License, or (at your option) any later version. 168a8f084eSChandan Nath * 178a8f084eSChandan Nath * This program is distributed in the hope that it will be useful, 188a8f084eSChandan Nath * but WITHOUT ANY WARRANTY; without even the implied warranty of 198a8f084eSChandan Nath * MERCHANTABILITY or FITNESS FOR A PARTICULAR /PURPOSE. See the 208a8f084eSChandan Nath * GNU General Public License for more details. 218a8f084eSChandan Nath */ 228a8f084eSChandan Nath 238a8f084eSChandan Nath #ifndef _OMAP_H_ 248a8f084eSChandan Nath #define _OMAP_H_ 258a8f084eSChandan Nath 268a8f084eSChandan Nath /* 278a8f084eSChandan Nath * Non-secure SRAM Addresses 288a8f084eSChandan Nath * Non-secure RAM starts at 0x40300000 for GP devices. But we keep SRAM_BASE 298a8f084eSChandan Nath * at 0x40304000(EMU base) so that our code works for both EMU and GP 308a8f084eSChandan Nath */ 318b029f22SMatt Porter #ifdef CONFIG_AM33XX 32*320d9746STom Rini #define NON_SECURE_SRAM_START 0x402F0400 33*320d9746STom Rini #define NON_SECURE_SRAM_END 0x40310000 348b029f22SMatt Porter #elif defined(CONFIG_TI814X) 358b029f22SMatt Porter #define NON_SECURE_SRAM_START 0x40300000 368b029f22SMatt Porter #define NON_SECURE_SRAM_END 0x40320000 378b029f22SMatt Porter #endif 388a8f084eSChandan Nath #endif 39