[coreboot-gerrit] Change in coreboot[master]: mediatek/mt8183: Remove DRAM_DMA section.

Tristan Hsieh (Code Review) gerrit at coreboot.org
Fri Jun 15 08:34:50 CEST 2018


Tristan Hsieh has uploaded this change for review. ( https://review.coreboot.org/27113


Change subject: mediatek/mt8183: Remove DRAM_DMA section.
......................................................................

mediatek/mt8183: Remove DRAM_DMA section.

BUG=b:80501386
BRANCH=none
TEST=work fine on Kukui

Change-Id: I6ba0757adbf4f1f8d2688e5ab1a36007e4e0d0fd
Signed-off-by: Tristan Shieh <tristan.shieh at mediatek.com>
---
M src/soc/mediatek/mt8183/include/soc/memlayout.ld
1 file changed, 1 insertion(+), 7 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/13/27113/1

diff --git a/src/soc/mediatek/mt8183/include/soc/memlayout.ld b/src/soc/mediatek/mt8183/include/soc/memlayout.ld
index 541f21e..f44c74b 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 @@
 	SRAM_L2C_END(0x00280000)
 
 	DRAM_START(0x40000000)
-	DRAM_DMA(0x40000000, 1M)
-	POSTRAM_CBFS_CACHE(0x40100000, 1M)
+	POSTRAM_CBFS_CACHE(0x40000000, 2M)
 	RAMSTAGE(0x40200000, 256K)
 }

-- 
To view, visit https://review.coreboot.org/27113
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6ba0757adbf4f1f8d2688e5ab1a36007e4e0d0fd
Gerrit-Change-Number: 27113
Gerrit-PatchSet: 1
Gerrit-Owner: Tristan Hsieh <tristan.shieh at mediatek.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180615/82199b56/attachment-0001.html>


More information about the coreboot-gerrit mailing list