-
Notifications
You must be signed in to change notification settings - Fork 901
remoteproc: adi: adding crc check for LDR headers #2912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: adsp-main-6.12
Are you sure you want to change the base?
remoteproc: adi: adding crc check for LDR headers #2912
Conversation
drivers/remoteproc/adi_remoteproc.c
Outdated
@@ -132,10 +138,10 @@ static struct adi_sharc_resource_table _rsc_table_template = { | |||
}, | |||
}; | |||
|
|||
enum adi_rproc_rpmsg_state { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these changes require a separate commit since they dont really contribute to the feature.
Also, if RPMsg and remoteproc are sharing a common structure/flags/states, would it be a better idea to look at a common abstraction layer that just plugs into the two interfaces? if so, do we need these changes for now?
drivers/remoteproc/adi_remoteproc.c
Outdated
} | ||
if (ret) { | ||
dev_err(rproc_data->dev, "Fail to request ICC IRQ\n"); | ||
if (!rproc_data->adi_rsc_table) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same...
In the future if you are linting a source file (e.g. fixing line length) and making functional changes it would be nice to separate them into different commits |
|
||
rproc_data = (struct adi_rproc_data *)rproc->priv; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume this isn't a line length issue since the function header is longer?
6248b01
to
2178c53
Compare
Signed-off-by: Arturs Artamonovs <Arturs.Artamonovs@analog.com> Signed-off-by: Utsav Agarwal <Utsav.Agarwal@analog.com> Co-developed-by: Utsav Agarwal <Utsav.Agarwal@analog.com>
2178c53
to
8bfa5ab
Compare
Checks checksum of LDR Section headers.
PR Type
PR Checklist