diff options
| author | Daniel Palmer <[email protected]> | 2026-05-16 16:39:58 +0900 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-05-22 16:47:54 -0600 |
| commit | 009cd5b56dbc2d0f7675e4262347a1a6b6a55cb2 (patch) | |
| tree | a250fcae29b211c4d3e97735dcb2395da96c4292 /include | |
| parent | 3e2b261647a78929f494a932fad4e80e607a2fef (diff) | |
virtio: mmio: Allow instantiation via platform data
The m68k QEMU virt machine doesn't use devicetree, yet, so
allow it to create virtio-mmio instances via platform data.
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Kuan-Wei Chiu <[email protected]>
Reviewed-by: Angelo Dureghello <[email protected]>
Signed-off-by: Daniel Palmer <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/virtio_mmio.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/virtio_mmio.h b/include/virtio_mmio.h new file mode 100644 index 00000000000..8c072826db5 --- /dev/null +++ b/include/virtio_mmio.h @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ + +#ifndef __VIRTIO_MMIO_H__ +#define __VIRTIO_MMIO_H__ + +#include <linux/types.h> + +struct virtio_mmio_plat { + phys_addr_t base; +}; + +#endif /* __VIRTIO_MMIO_H__ */ |
