summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8173/memlayout.ld
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek/mt8173/memlayout.ld')
-rw-r--r--src/soc/mediatek/mt8173/memlayout.ld17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/soc/mediatek/mt8173/memlayout.ld b/src/soc/mediatek/mt8173/memlayout.ld
index 224dbdabaa..c593853c3c 100644
--- a/src/soc/mediatek/mt8173/memlayout.ld
+++ b/src/soc/mediatek/mt8173/memlayout.ld
@@ -1,21 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <memlayout.h>
-
-#include <arch/header.ld>
-
-/*
- * SRAM_L2C is the half part of L2 cache that we borrow it to be used as SRAM.
- * It will be returned before starting the ramstage.
- * SRAM_L2C and SRAM can be cached, but only SRAM is DMA-able.
- */
-#define SRAM_L2C_START(addr) REGION_START(sram_l2c, addr)
-#define SRAM_L2C_END(addr) REGION_END(sram_l2c, addr)
-
-#define DRAM_DMA(addr, size) \
- REGION(dram_dma, addr, size, 4K) \
- _ = ASSERT(size % 4K == 0, \
- "DRAM DMA buffer should be multiple of smallest page size (4K)!");
+#include <soc/memlayout.h>
SECTIONS
{