Skip to content

Commit

Permalink
zynq7, microblaze resource table: virtio notifyid
Browse files Browse the repository at this point in the history
Port commit 46d0418 ("zynqmp_r5 resource table: Change notifyid
for the virtio device.") to zynq7 and microblaze.

Signed-off-by: Sergei Korneichuk <sergei.korneichuk@amd.com>
  • Loading branch information
kernelchuk authored and arnopo committed Mar 23, 2023
1 parent 1b97548 commit 11d13f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions apps/machine/microblaze_generic/rsc_table.c
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2020 Xilinx, Inc. All rights reserved.
* Copyright (c) 2020-2022 Xilinx, Inc. All rights reserved.
* Copyright (c) 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
Expand Down Expand Up @@ -42,7 +43,7 @@ struct remote_resource_table __resource resources = {

/* Virtio device entry */
{
RSC_VDEV, VIRTIO_ID_RPMSG, 0, RPMSG_VDEV_DFEATURES, 0, 0, 0,
RSC_VDEV, VIRTIO_ID_RPMSG_, 31, RPMSG_VDEV_DFEATURES, 0, 0, 0,
NUM_VRINGS, {0, 0},
},

Expand Down
5 changes: 3 additions & 2 deletions apps/machine/zynq7/rsc_table.c
@@ -1,7 +1,8 @@
/*
* Copyright (c) 2014, Mentor Graphics Corporation
* All rights reserved.
* Copyright (c) 2015 Xilinx, Inc. All rights reserved.
* Copyright (c) 2015-2022 Xilinx, Inc. All rights reserved.
* Copyright (c) 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
Expand Down Expand Up @@ -51,7 +52,7 @@ struct remote_resource_table __resource resources = {

/* Virtio device entry */
{
RSC_VDEV, VIRTIO_ID_RPMSG_, 0, RPMSG_VDEV_DFEATURES, 0, 0, 0,
RSC_VDEV, VIRTIO_ID_RPMSG_, 31, RPMSG_VDEV_DFEATURES, 0, 0, 0,
NUM_VRINGS, {0, 0},
},

Expand Down

0 comments on commit 11d13f9

Please sign in to comment.