From 97bdb9aa31ada2b4fbf0aa5e0e3744294427f927 Mon Sep 17 00:00:00 2001 From: Tristan Shieh Date: Fri, 15 Jun 2018 14:16:48 +0800 Subject: [PATCH] mediatek/mt8183: Remove DRAM_DMA section DRAM_DMA section is used for the special SPI NOR controller on legacy SOC. Remove it since no driver need it currently and we don't have the special SPI NOR controller on mt8183. BUG=b:80501386 BRANCH=none TEST=Boots fine on Kukui Change-Id: I6ba0757adbf4f1f8d2688e5ab1a36007e4e0d0fd Signed-off-by: Tristan Shieh Reviewed-on: https://review.coreboot.org/27113 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/soc/mediatek/mt8183/include/soc/memlayout.ld | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/soc/mediatek/mt8183/include/soc/memlayout.ld b/src/soc/mediatek/mt8183/include/soc/memlayout.ld index 541f21e0eb..f44c74b0e5 100644 --- a/src/soc/mediatek/mt8183/include/soc/memlayout.ld +++ b/src/soc/mediatek/mt8183/include/soc/memlayout.ld @@ -25,11 +25,6 @@ #define SRAM_L2C_START(addr) SYMBOL(sram_l2c, addr) #define SRAM_L2C_END(addr) SYMBOL(esram_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)!"); - SECTIONS { SRAM_START(0x00100000) @@ -50,7 +45,6 @@ SECTIONS SRAM_L2C_END(0x00280000) DRAM_START(0x40000000) - DRAM_DMA(0x40000000, 1M) - POSTRAM_CBFS_CACHE(0x40100000, 1M) + POSTRAM_CBFS_CACHE(0x40000000, 2M) RAMSTAGE(0x40200000, 256K) }