Commit 0709a782 authored by Carl-Daniel Hailfinger's avatar Carl-Daniel Hailfinger
Browse files

ichspi: remove obnoxious debug message


Since we don't have any debug level printing infrastructure yet, I
propose to kill the obnoxious debug message in ichspi.c which was added
to check for correct PREOP handling.

We know the code works fine (after getting a few reports over 100 MB
long) and there's no point in keeping it around anymore. If there is any
desire, we can reinstate it as print_spew or whatever once the debug
level infrastructure is merged, but at that point we probably just are
happy that the debug output isn't there anymore.

Corresponding to flashrom svn r753.
Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: default avatarLuc Verhaegen <libv@skynet.be>
parent 20fdce18
......@@ -756,11 +756,8 @@ int ich_spi_send_multicommand(struct spi_command *cmds)
* opcode of the next command?
*/
if ((oppos != -1) && (preoppos != -1) &&
(curopcodes->opcode[oppos].atomic - 1 == preoppos)) {
printf_debug("opcode 0x%02x will be run as PREOP\n",
cmds->writearr[0]);
((curopcodes->opcode[oppos].atomic - 1) == preoppos))
continue;
}
}
ret = ich_spi_send_command(cmds->writecnt, cmds->readcnt,
......
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