blob: 0855d16ce54a8c1fe8197d4f22e15fc0765aebd6 [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 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +020012 * SPDX-License-Identifier: GPL-2.0+
Chandan Nath77a73fe2012-01-09 20:38:59 +000013 */
14
15#ifndef _OMAP_H_
16#define _OMAP_H_
17
Matt Porter691fbe32013-03-15 10:07:06 +000018#ifdef CONFIG_AM33XX
Tom Rini3a300832013-05-31 10:48:03 -040019#define NON_SECURE_SRAM_START 0x402F0400
20#define NON_SECURE_SRAM_END 0x40310000
Tom Rini45841f62013-08-20 08:53:43 -040021#define SRAM_SCRATCH_SPACE_ADDR 0x4030B800
TENART Antoinea6be77c2013-07-02 12:05:58 +020022#elif defined(CONFIG_TI81XX)
Matt Porter691fbe32013-03-15 10:07:06 +000023#define NON_SECURE_SRAM_START 0x40300000
24#define NON_SECURE_SRAM_END 0x40320000
Tom Rinic513b612013-06-06 08:57:45 -040025#define SRAM_SCRATCH_SPACE_ADDR 0x4031B800
Lokesh Vutla83269d02013-07-30 11:36:28 +053026#elif defined(CONFIG_AM43XX)
27#define NON_SECURE_SRAM_START 0x402F0400
28#define NON_SECURE_SRAM_END 0x40340000
Lokesh Vutlab82e6e92013-12-10 15:02:12 +053029#define SRAM_SCRATCH_SPACE_ADDR 0x40337C00
Sekhar Nori2ab3c492013-12-10 15:02:15 +053030#define AM4372_BOARD_NAME_START SRAM_SCRATCH_SPACE_ADDR
31#define AM4372_BOARD_NAME_END SRAM_SCRATCH_SPACE_ADDR + 0xC
Sourav Poddar7ba4ac52013-12-21 12:50:12 +053032#define QSPI_BASE 0x47900000
Matt Porter691fbe32013-03-15 10:07:06 +000033#endif
Chandan Nath77a73fe2012-01-09 20:38:59 +000034#endif