omap.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. #ifndef _OMAP_H_
  15. #define _OMAP_H_
  16. #ifdef CONFIG_AM33XX
  17. #define NON_SECURE_SRAM_START 0x402F0400
  18. #define NON_SECURE_SRAM_END 0x40310000
  19. #define SRAM_SCRATCH_SPACE_ADDR 0x4030B800
  20. #elif defined(CONFIG_TI81XX)
  21. #define NON_SECURE_SRAM_START 0x40300000
  22. #define NON_SECURE_SRAM_END 0x40320000
  23. #define SRAM_SCRATCH_SPACE_ADDR 0x4031B800
  24. #elif defined(CONFIG_AM43XX)
  25. #define NON_SECURE_SRAM_START 0x402F0400
  26. #define NON_SECURE_SRAM_END 0x40340000
  27. #define SRAM_SCRATCH_SPACE_ADDR 0x40337C00
  28. #define AM4372_BOARD_NAME_START SRAM_SCRATCH_SPACE_ADDR
  29. #define AM4372_BOARD_NAME_END SRAM_SCRATCH_SPACE_ADDR + 0xC
  30. #define AM4372_BOARD_VERSION_START SRAM_SCRATCH_SPACE_ADDR + 0xD
  31. #define AM4372_BOARD_VERSION_END SRAM_SCRATCH_SPACE_ADDR + 0x14
  32. #define QSPI_BASE 0x47900000
  33. #endif
  34. /* Boot parameters */
  35. #ifndef __ASSEMBLY__
  36. struct omap_boot_parameters {
  37. unsigned int reserved;
  38. unsigned int boot_device_descriptor;
  39. unsigned char boot_device;
  40. unsigned char reset_reason;
  41. };
  42. #endif
  43. #endif