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 <tristan.shieh@mediatek.com>
Reviewed-on: https://review.coreboot.org/27113
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
Tristan Shieh 2018-06-15 14:16:48 +08:00 committed by Patrick Georgi
parent 4c6dfbc2c1
commit 97bdb9aa31
1 changed files with 1 additions and 7 deletions

View File

@ -25,11 +25,6 @@
#define SRAM_L2C_START(addr) SYMBOL(sram_l2c, addr) #define SRAM_L2C_START(addr) SYMBOL(sram_l2c, addr)
#define SRAM_L2C_END(addr) SYMBOL(esram_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 SECTIONS
{ {
SRAM_START(0x00100000) SRAM_START(0x00100000)
@ -50,7 +45,6 @@ SECTIONS
SRAM_L2C_END(0x00280000) SRAM_L2C_END(0x00280000)
DRAM_START(0x40000000) DRAM_START(0x40000000)
DRAM_DMA(0x40000000, 1M) POSTRAM_CBFS_CACHE(0x40000000, 2M)
POSTRAM_CBFS_CACHE(0x40100000, 1M)
RAMSTAGE(0x40200000, 256K) RAMSTAGE(0x40200000, 256K)
} }