blob: a945a1c38aa50a640d69260c19e0f0d9e1992e0e [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-only */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
3 * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00004 */
5
6#ifndef __MACH_TEGRA_IRAMMAP_H
7#define __MACH_TEGRA_IRAMMAP_H
8
David Brazdil0f672f62019-12-10 10:32:29 +00009#include <linux/sizes.h>
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000010
11/* The first 1K of IRAM is permanently reserved for the CPU reset handler */
12#define TEGRA_IRAM_RESET_HANDLER_OFFSET 0
13#define TEGRA_IRAM_RESET_HANDLER_SIZE SZ_1K
14
15/*
16 * This area is used for LPx resume vector, only while LPx power state is
17 * active. At other times, the AVP may use this area for arbitrary purposes
18 */
19#define TEGRA_IRAM_LPx_RESUME_AREA (TEGRA_IRAM_BASE + SZ_4K)
20
21#endif