blob: e5c0b0d08ff9ecd1ec1689234de428be26c1fc79 [file] [log] [blame]
Chandan Nath8a8f0842012-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 Denk1a459662013-07-08 09:37:19 +020012 * SPDX-License-Identifier: GPL-2.0+
Chandan Nath8a8f0842012-01-09 20:38:59 +000013 */
14
15#ifndef _OMAP_H_
16#define _OMAP_H_
17
Matt Porter8b029f22013-03-15 10:07:06 +000018#ifdef CONFIG_AM33XX
Tom Rini320d9742013-05-31 10:48:03 -040019#define NON_SECURE_SRAM_START 0x402F0400
20#define NON_SECURE_SRAM_END 0x40310000
Tom Rinic27efde2013-08-20 08:53:43 -040021#define SRAM_SCRATCH_SPACE_ADDR 0x4030B800
TENART Antoine9ed6e412013-07-02 12:05:58 +020022#elif defined(CONFIG_TI81XX)
Matt Porter8b029f22013-03-15 10:07:06 +000023#define NON_SECURE_SRAM_START 0x40300000
24#define NON_SECURE_SRAM_END 0x40320000
Tom Riniedfcf852013-06-06 08:57:45 -040025#define SRAM_SCRATCH_SPACE_ADDR 0x4031B800
Lokesh Vutlac06e4982013-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 Vutla369cbe12013-12-10 15:02:12 +053029#define SRAM_SCRATCH_SPACE_ADDR 0x40337C00
Sekhar Nori9f1a8cd2013-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
Franklin S. Cooper Jr2c952112014-06-27 13:31:14 -050032#define AM4372_BOARD_VERSION_START SRAM_SCRATCH_SPACE_ADDR + 0xD
33#define AM4372_BOARD_VERSION_END SRAM_SCRATCH_SPACE_ADDR + 0x14
Sourav Poddarb56e71e2013-12-21 12:50:12 +053034#define QSPI_BASE 0x47900000
Matt Porter8b029f22013-03-15 10:07:06 +000035#endif
Chandan Nath8a8f0842012-01-09 20:38:59 +000036#endif