irammap.h 596 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
  4. */
  5. #ifndef __MACH_TEGRA_IRAMMAP_H
  6. #define __MACH_TEGRA_IRAMMAP_H
  7. #include <linux/sizes.h>
  8. /* The first 1K of IRAM is permanently reserved for the CPU reset handler */
  9. #define TEGRA_IRAM_RESET_HANDLER_OFFSET 0
  10. #define TEGRA_IRAM_RESET_HANDLER_SIZE SZ_1K
  11. /*
  12. * This area is used for LPx resume vector, only while LPx power state is
  13. * active. At other times, the AVP may use this area for arbitrary purposes
  14. */
  15. #define TEGRA_IRAM_LPx_RESUME_AREA (TEGRA_IRAM_BASE + SZ_4K)
  16. #endif