diff options
author | Suman Anna <s-anna@ti.com> | 2017-04-11 16:04:22 -0500 |
---|---|---|
committer | Angela Stegmaier <angelabaker@ti.com> | 2017-04-12 17:19:04 -0500 |
commit | a404d6aac840b6170cf4e9d819738842ec91746e (patch) | |
tree | f50d7191f7df5262757559a4008b104a8a5f5b85 | |
parent | 95496498b0d41dfc926a0d2914da421a8935675d (diff) | |
download | ipc-a404d6aac840b6170cf4e9d819738842ec91746e.tar.gz |
Remoteproc: OMAP-L138: Fix up resource table3.46.00.01_eng
The OMAP-L138 resource table structure definitions are incorrect,
the offset variable was defined to be an array of 13, whereas the
real valid entries are 3, thereby mis-representing the offsets of
the resources in the actual resource table when compared to the
resource structure definition. Fix this properly by adjusting the
array length.
While at this, also replace the name IPU with DSP in various macros.
The SoC only has a DSP, and has no IPU, and the IPU name can be
misleading for users even though there is no difference functionally.
Signed-off-by: Suman Anna <s-anna@ti.com>
-rw-r--r-- | packages/ti/ipc/remoteproc/rsc_table_omapl138.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/ti/ipc/remoteproc/rsc_table_omapl138.h b/packages/ti/ipc/remoteproc/rsc_table_omapl138.h index 3eda5db..2ff4b66 100644 --- a/packages/ti/ipc/remoteproc/rsc_table_omapl138.h +++ b/packages/ti/ipc/remoteproc/rsc_table_omapl138.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011-2013, Texas Instruments Incorporated + * Copyright (c) 2011-2017, Texas Instruments Incorporated * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -68,12 +68,12 @@ #define CONSOLE_VQ1_SIZE 256 /* flip up bits whose indices represent features we support */ -#define RPMSG_IPU_C0_FEATURES 1 +#define RPMSG_DSP_FEATURES 1 struct my_resource_table { struct resource_table base; - UInt32 offset[13]; + UInt32 offset[3]; /* rpmsg vdev entry */ struct fw_rsc_vdev rpmsg_vdev; @@ -107,7 +107,7 @@ struct my_resource_table ti_ipc_remoteproc_ResourceTable = { /* rpmsg vdev entry */ { TYPE_VDEV, VIRTIO_ID_RPMSG, 0, - RPMSG_IPU_C0_FEATURES, 0, 0, 0, 2, { 0, 0 }, + RPMSG_DSP_FEATURES, 0, 0, 0, 2, { 0, 0 }, /* no config data */ }, /* the two vrings */ @@ -115,7 +115,7 @@ struct my_resource_table ti_ipc_remoteproc_ResourceTable = { { RPMSG_VRING1_DA, 4096, RPMSG_VQ1_SIZE, 2, 0 }, { - TYPE_CARVEOUT, DATA_DA, DATA_DA, DATA_SIZE, 0, 0, "IPU_MEM_DATA", + TYPE_CARVEOUT, DATA_DA, DATA_DA, DATA_SIZE, 0, 0, "DSP_MEM_DATA", }, { |