Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/arch/xtensa/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ if(MEU_PATH OR DEFINED MEU_NO_SIGN) # Don't sign with rimage
-s ${MEU_OFFSET}
-k ${RIMAGE_PRIVATE_KEY}
-i ${RIMAGE_IMR_TYPE}
-f ${SOF_MAJOR}.${SOF_MINOR}
-f ${SOF_MAJOR}.${SOF_MINOR}.${SOF_MICRO}
-b ${SOF_BUILD}
-e
${bootloader_binary_path}
Expand Down Expand Up @@ -498,7 +498,7 @@ else() # sign with rimage
-c "${PROJECT_SOURCE_DIR}/rimage/config/${fw_name}.toml"
-k ${RIMAGE_PRIVATE_KEY}
-i ${RIMAGE_IMR_TYPE}
-f ${SOF_MAJOR}.${SOF_MINOR}
-f ${SOF_MAJOR}.${SOF_MINOR}.${SOF_MICRO}
-b ${SOF_BUILD}
-e
${bootloader_binary_path}
Expand Down
6 changes: 3 additions & 3 deletions tools/ctl/ctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ static void hex_data_dump(struct ctl_data *ctl_data)
/* Print out in 16bit hex format */
for (i = 0; i < n; i++) {
if (!(i % 8))
fprintf(stdout, "%08lx ",
fprintf(stdout, "%08zx ",
i * sizeof(uint16_t));
fprintf(stdout, "%04x ", config[i]);
if ((i % 8) == 7)
Expand Down Expand Up @@ -410,7 +410,7 @@ static void ctl_dump(struct ctl_data *ctl_data)
{
FILE *fh;
int offset = 0;
size_t n;/* in bytes */
size_t n = 0;/* in bytes */

if (ctl_data->out_fd > 0) {
if (ctl_data->binary) {
Expand Down Expand Up @@ -441,7 +441,7 @@ static void ctl_dump(struct ctl_data *ctl_data)
csv_data_dump(ctl_data, fh);
}

fprintf(stdout, "%ld bytes written to file.\n", n);
fprintf(stdout, "%zd bytes written to file.\n", n);
fclose(fh);
} else {
/* dump to stdout */
Expand Down