summaryrefslogtreecommitdiff
path: root/src/mainboard/google/rush/mainboard.c
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2014-09-24 09:11:16 -0500
committerPatrick Georgi <pgeorgi@google.com>2015-03-28 08:44:58 +0100
commit852b50c87f1fb907c31a1a20fd55db4a64096ccc (patch)
tree721706f2f0d7d4b2d0de28e0445f1e5f3093fc27 /src/mainboard/google/rush/mainboard.c
parentba167251e2d0722dc5a00c7e3bea08d2d4c3c078 (diff)
rush: ryu: remove mainboard_add_memory_ranges()
There's no need to add DMA ranges for these boards as that memory is allocated within dpethcharge now. Additionally, the DRAM_DMA_* Kconfig options were removed resulting in 0 values. BUG=None TEST=Built rush and ryu. BRANCH=None Change-Id: I597437960e4fddbf6d26f0b15ddeefc4557adc8b Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: f26b503d759b2bac902e58e928d7c625c1a6c575 Original-Change-Id: I52bb8f760a56226c75611f7981570a44d56f242e Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/219710 Original-Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: http://review.coreboot.org/9101 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/google/rush/mainboard.c')
-rw-r--r--src/mainboard/google/rush/mainboard.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mainboard/google/rush/mainboard.c b/src/mainboard/google/rush/mainboard.c
index ccac5e4d11..846a7ac55f 100644
--- a/src/mainboard/google/rush/mainboard.c
+++ b/src/mainboard/google/rush/mainboard.c
@@ -106,11 +106,3 @@ struct chip_operations mainboard_ops = {
.name = "rush",
.enable_dev = mainboard_enable,
};
-
-
-void mainboard_add_memory_ranges(struct memranges *map)
-{
- /* Create non-cacheable region for DMA operations. */
- memranges_insert(map, CONFIG_DRAM_DMA_START, CONFIG_DRAM_DMA_SIZE,
- MA_MEM | MA_MEM_NC | MA_NS | MA_RW);
-}