|
@@ -1702,6 +1702,7 @@ static int mvneta_probe(struct udevice *dev)
|
|
|
|
|
|
/* Align buffer area for descs and rx_buffers to 1MiB */
|
|
/* Align buffer area for descs and rx_buffers to 1MiB */
|
|
bd_space = memalign(1 << MMU_SECTION_SHIFT, BD_SPACE);
|
|
bd_space = memalign(1 << MMU_SECTION_SHIFT, BD_SPACE);
|
|
|
|
+ flush_dcache_range((ulong)bd_space, (ulong)bd_space + BD_SPACE);
|
|
mmu_set_region_dcache_behaviour((phys_addr_t)bd_space, BD_SPACE,
|
|
mmu_set_region_dcache_behaviour((phys_addr_t)bd_space, BD_SPACE,
|
|
DCACHE_OFF);
|
|
DCACHE_OFF);
|
|
buffer_loc.tx_descs = (struct mvneta_tx_desc *)bd_space;
|
|
buffer_loc.tx_descs = (struct mvneta_tx_desc *)bd_space;
|