path: root/ichspi.c
diff options
authorCarl-Daniel Hailfinger <>2009-10-22 15:07:30 +0000
committerCarl-Daniel Hailfinger <>2009-10-22 15:07:30 +0000
commit0709a782c3a2dfcc4f3740e631765333f3f0ad44 (patch)
treef1a2dd80b098893633a9ba45a4ce3551b70890ae /ichspi.c
parent20fdce18afde687496a8d0556cf18c64f1ba5f19 (diff)
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: Carl-Daniel Hailfinger <> Acked-by: Luc Verhaegen <>
Diffstat (limited to 'ichspi.c')
1 files changed, 1 insertions, 4 deletions
diff --git a/ichspi.c b/ichspi.c
index 80c4342..b53a925 100644
--- a/ichspi.c
+++ b/ichspi.c
@@ -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))
- }
ret = ich_spi_send_command(cmds->writecnt, cmds->readcnt,
OpenPOWER on IntegriCloud