2012-01-09 20:38:59 +00:00
|
|
|
/*
|
|
|
|
* omap.h
|
|
|
|
*
|
|
|
|
* Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
|
|
|
|
*
|
|
|
|
* Author:
|
|
|
|
* Chandan Nath <chandan.nath@ti.com>
|
|
|
|
*
|
|
|
|
* Derived from OMAP4 work by
|
|
|
|
* Aneesh V <aneesh@ti.com>
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2012-01-09 20:38:59 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _OMAP_H_
|
|
|
|
#define _OMAP_H_
|
|
|
|
|
2013-03-15 10:07:06 +00:00
|
|
|
#ifdef CONFIG_AM33XX
|
2013-05-31 14:48:03 +00:00
|
|
|
#define NON_SECURE_SRAM_START 0x402F0400
|
|
|
|
#define NON_SECURE_SRAM_END 0x40310000
|
2013-08-20 12:53:43 +00:00
|
|
|
#define SRAM_SCRATCH_SPACE_ADDR 0x4030B800
|
2013-07-02 10:05:58 +00:00
|
|
|
#elif defined(CONFIG_TI81XX)
|
2013-03-15 10:07:06 +00:00
|
|
|
#define NON_SECURE_SRAM_START 0x40300000
|
|
|
|
#define NON_SECURE_SRAM_END 0x40320000
|
2013-06-06 12:57:45 +00:00
|
|
|
#define SRAM_SCRATCH_SPACE_ADDR 0x4031B800
|
2013-07-30 06:06:28 +00:00
|
|
|
#elif defined(CONFIG_AM43XX)
|
|
|
|
#define NON_SECURE_SRAM_START 0x402F0400
|
|
|
|
#define NON_SECURE_SRAM_END 0x40340000
|
2013-12-10 09:32:12 +00:00
|
|
|
#define SRAM_SCRATCH_SPACE_ADDR 0x40337C00
|
2013-12-10 09:32:15 +00:00
|
|
|
#define AM4372_BOARD_NAME_START SRAM_SCRATCH_SPACE_ADDR
|
|
|
|
#define AM4372_BOARD_NAME_END SRAM_SCRATCH_SPACE_ADDR + 0xC
|
2014-06-27 18:31:14 +00:00
|
|
|
#define AM4372_BOARD_VERSION_START SRAM_SCRATCH_SPACE_ADDR + 0xD
|
|
|
|
#define AM4372_BOARD_VERSION_END SRAM_SCRATCH_SPACE_ADDR + 0x14
|
2013-12-21 07:20:12 +00:00
|
|
|
#define QSPI_BASE 0x47900000
|
2013-03-15 10:07:06 +00:00
|
|
|
#endif
|
2015-07-15 14:02:19 +00:00
|
|
|
|
|
|
|
/* Boot parameters */
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
struct omap_boot_parameters {
|
|
|
|
unsigned int reserved;
|
|
|
|
unsigned int boot_device_descriptor;
|
|
|
|
unsigned char boot_device;
|
|
|
|
unsigned char reset_reason;
|
|
|
|
};
|
|
|
|
#endif
|
|
|
|
|
2012-01-09 20:38:59 +00:00
|
|
|
#endif
|