diff options
author | Aaron Durbin <adurbin@chromium.org> | 2014-09-24 09:11:16 -0500 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-03-28 08:44:58 +0100 |
commit | 852b50c87f1fb907c31a1a20fd55db4a64096ccc (patch) | |
tree | 721706f2f0d7d4b2d0de28e0445f1e5f3093fc27 /src | |
parent | ba167251e2d0722dc5a00c7e3bea08d2d4c3c078 (diff) | |
download | coreboot-852b50c87f1fb907c31a1a20fd55db4a64096ccc.tar.xz |
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')
-rw-r--r-- | src/mainboard/google/rush/mainboard.c | 8 | ||||
-rw-r--r-- | src/mainboard/google/rush_ryu/mainboard.c | 7 |
2 files changed, 0 insertions, 15 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); -} diff --git a/src/mainboard/google/rush_ryu/mainboard.c b/src/mainboard/google/rush_ryu/mainboard.c index ffa323476a..e19ad02612 100644 --- a/src/mainboard/google/rush_ryu/mainboard.c +++ b/src/mainboard/google/rush_ryu/mainboard.c @@ -78,10 +78,3 @@ struct chip_operations mainboard_ops = { .name = "rush_ryu", .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); -} |