#include <common.h>
#include <cpu_func.h>
#include <dm.h>
+#include <log.h>
#include <malloc.h>
+#include <asm/cache.h>
#include <dm/read.h>
#include <dma-uclass.h>
#include <dt-structs.h>
}
if (!dev) {
- pr_err("No DMA device found that supports %x type\n",
- transfer_type);
+ pr_debug("No DMA device found that supports %x type\n",
+ transfer_type);
return -EPROTONOSUPPORT;
}
.id = UCLASS_DMA,
.name = "dma",
.flags = DM_UC_FLAG_SEQ_ALIAS,
- .per_device_auto_alloc_size = sizeof(struct dma_dev_priv),
+ .per_device_auto = sizeof(struct dma_dev_priv),
};