Converting Ethos-U driver to rpmsg
The Ethos-U kernel driver has been converted from a
platform driver with a custom firmware interface into a
rpmsg driver.
Change-Id: I9ae449f5e79eb02924e6630611d0893e5fec86be
diff --git a/kernel/ethosu_buffer.h b/kernel/ethosu_buffer.h
index 7a21fcb..ada8c4c 100644
--- a/kernel/ethosu_buffer.h
+++ b/kernel/ethosu_buffer.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020,2022 ARM Limited.
+ * Copyright 2020,2022-2023 Arm Limited and/or its affiliates
*
* This program is free software and is provided to you under the terms of the
* GNU General Public License version 2 as published by the Free Software
@@ -51,6 +51,7 @@
*/
struct ethosu_buffer {
struct ethosu_device *edev;
+ struct device *dev;
struct file *file;
struct kref kref;
size_t capacity;
@@ -58,7 +59,6 @@
size_t size;
void *cpu_addr;
dma_addr_t dma_addr;
- dma_addr_t dma_addr_orig;
};
/****************************************************************************