usb_host: fix MMU fault on rpi2 and rpi3

This commit is contained in:
Tomasz Gajewski 2021-10-17 21:20:27 +02:00 committed by Christian Helmuth
parent 275479867d
commit 332cfb38c1

View File

@ -190,9 +190,9 @@ void backend_alloc_init(Env & env, Ram_allocator&, Allocator&)
}
Ram_dataspace_capability Lx::backend_alloc(addr_t size, Cache)
Ram_dataspace_capability Lx::backend_alloc(addr_t size, Cache cache)
{
return resource_env().platform.alloc_dma_buffer(size, UNCACHED);
return resource_env().platform.alloc_dma_buffer(size, cache);
}