Skip to content

rimage: Set of small improvements - #8532

Merged
kv2019i merged 3 commits into
thesofproject:mainfrom
softwarecki:rimage-fix
Dec 11, 2023
Merged

rimage: Set of small improvements#8532
kv2019i merged 3 commits into
thesofproject:mainfrom
softwarecki:rimage-fix

Conversation

@softwarecki

Copy link
Copy Markdown
Collaborator

Added limit of a number of input modules provided in a command line to the maximum number of supported modules (size of module array / MAX_MODULES)

Created ALIGN_UP macro to simplify calculations.
Used DIV_ROUND_UP macro to calculate page count.

@lgirdwoodlgirdwood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment threadtools/rimage/src/rimage.c
Comment threadtools/rimage/src/module.c
@softwarecki
softwareckiforce-pushed the rimage-fix branch 2 times, most recently from e53e25b to 9bbda46CompareNovember 28, 2023 10:11
Comment threadtools/rimage/src/rimage.c
Comment threadtools/rimage/src/include/rimage/misc_utils.h
@lgirdwood

Copy link
Copy Markdown
Member

@softwarecki any ETA, these look nice.

Added limit of a number of input modules provided in a command line to the
maximum number of supported modules (size of module array / MAX_MODULES)
Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
Used DIV_ROUND_UP macro to calculate page count.
Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
Created ALIGN_UP macro to simplify calculations.
Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
@softwarecki

Copy link
Copy Markdown
CollaboratorAuthor

rebased

@softwarecki
softwarecki marked this pull request as ready for review December 7, 2023 14:30
@kv2019i
kv2019i merged commit 7a63f66 into thesofproject:mainDec 11, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@softwarecki@lgirdwood@lyakh@btian1@kv2019i