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); -}