Commit 34964f7e authored by Marek Vasut's avatar Marek Vasut
Browse files

mxssb: Fix the HAB flag



Properly set the HAB flag to a #define'd value instead of a hardcoded
value.
Signed-off-by: Marek Vasut's avatarMarek Vasut <marex@denx.de>
parent c1909d72
......@@ -590,7 +590,7 @@ static int sb_tag_to_command(struct sb_cmd_ctx *cctx, char *line)
return -EINVAL;
/* Check for "HAB" flag. */
if ((strlen(tok) == 3) && !strncmp(tok, "HAB", 3)) {
cmd->header.flags = 1; // HACK
cmd->header.flags = ROM_CALL_CMD_FLAG_HAB;
tok = strtok(NULL, " ");
if (!tok)
return -EINVAL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment