Skip to content

Commit

Permalink
fix command
Browse files Browse the repository at this point in the history
  • Loading branch information
gtxaspec committed Feb 10, 2024
1 parent b308755 commit 58fa190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/lib/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ extern void board_usb_init(void);

if (overlay + aligned_length <= flashsize) {
debug("RST: Overlay: 0x%lX, Flash size: 0x%lX, Length to erase: 0x%lX\n", overlay, flashsize, flashsize - overlay);
debug(cmd, "sf erase 0x%lX 0x%lX", overlay, aligned_length);
sprintf(cmd, "sf erase 0x%lX 0x%lX", overlay, aligned_length);
debug("Executing command: %s\n", cmd);
if (run_command(cmd, 0) != 0) {
printf("RST: Error: Failed to execute erase command.\n");
Expand Down

0 comments on commit 58fa190

Please sign in to comment.