blob: e7576c110631c971aae8f0ab831de7d517dc7283 [file] [log] [blame]
Chandan Nath77a73fe2012-01-09 20:38:59 +00001/*
2 * omap.h
3 *
4 * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
5 *
6 * Author:
7 * Chandan Nath <chandan.nath@ti.com>
8 *
9 * Derived from OMAP4 work by
10 * Aneesh V <aneesh@ti.com>
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License as
14 * published by the Free Software Foundation; either version 2 of
15 * the License, or (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR /PURPOSE. See the
20 * GNU General Public License for more details.
21 */
22
23#ifndef _OMAP_H_
24#define _OMAP_H_
25
26/*
27 * Non-secure SRAM Addresses
28 * Non-secure RAM starts at 0x40300000 for GP devices. But we keep SRAM_BASE
29 * at 0x40304000(EMU base) so that our code works for both EMU and GP
30 */
Matt Porter691fbe32013-03-15 10:07:06 +000031#ifdef CONFIG_AM33XX
Tom Rini3a300832013-05-31 10:48:03 -040032#define NON_SECURE_SRAM_START 0x402F0400
33#define NON_SECURE_SRAM_END 0x40310000
Tom Rinic513b612013-06-06 08:57:45 -040034#define SRAM_SCRATCH_SPACE_ADDR 0x4030C000
Matt Porter691fbe32013-03-15 10:07:06 +000035#elif defined(CONFIG_TI814X)
36#define NON_SECURE_SRAM_START 0x40300000
37#define NON_SECURE_SRAM_END 0x40320000
Tom Rinic513b612013-06-06 08:57:45 -040038#define SRAM_SCRATCH_SPACE_ADDR 0x4031B800
Matt Porter691fbe32013-03-15 10:07:06 +000039#endif
Chandan Nath77a73fe2012-01-09 20:38:59 +000040#endif