mcusys.c 372 B

123456789101112131415
  1. /*
  2. * Copyright (c) 2022, MediaTek Inc. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #include <stdint.h>
  7. #include <mtk_mmap_pool.h>
  8. #include <platform_def.h>
  9. static const mmap_region_t mcusys_mmap[] MTK_MMAP_SECTION = {
  10. MAP_REGION_FLAT(MCUCFG_BASE, MCUCFG_REG_SIZE, MT_DEVICE | MT_RW | MT_SECURE),
  11. {0}
  12. };
  13. DECLARE_MTK_MMAP_REGIONS(mcusys_mmap);