1 /*
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  * SPDX-License-Identifier:	GPL-2.0+
13  */
14 
15 #ifndef _OMAP_H_
16 #define _OMAP_H_
17 
18 #include <linux/sizes.h>
19 
20 #ifdef CONFIG_AM33XX
21 #define NON_SECURE_SRAM_START	0x402F0400
22 #define NON_SECURE_SRAM_END	0x40310000
23 #define NON_SECURE_SRAM_IMG_END	0x4030B800
24 #elif defined(CONFIG_TI81XX)
25 #define NON_SECURE_SRAM_START	0x40300000
26 #define NON_SECURE_SRAM_END	0x40320000
27 #define NON_SECURE_SRAM_IMG_END	0x4031B800
28 #elif defined(CONFIG_AM43XX)
29 #define NON_SECURE_SRAM_START	0x402F0400
30 #define NON_SECURE_SRAM_END	0x40340000
31 #define NON_SECURE_SRAM_IMG_END	0x40337DE0
32 #define QSPI_BASE              0x47900000
33 #endif
34 #define SRAM_SCRATCH_SPACE_ADDR	(NON_SECURE_SRAM_IMG_END - SZ_1K)
35 
36 /* Boot parameters */
37 #ifndef __ASSEMBLY__
38 struct omap_boot_parameters {
39 	unsigned int reserved;
40 	unsigned int boot_device_descriptor;
41 	unsigned char boot_device;
42 	unsigned char reset_reason;
43 };
44 #endif
45 
46 #endif
47