summaryrefslogtreecommitdiffstats
path: root/board_enable.c
diff options
context:
space:
mode:
authorMichael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>2010-01-09 23:31:13 +0000
committerMichael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>2010-01-09 23:31:13 +0000
commit0435dfde2aba7d56796211be01828cc56de44b69 (patch)
tree0a5ec11012cf8a9b27cb158c9c0f9a84a7ef59b1 /board_enable.c
parent9f9e61384089c7b1e8b75811bb1ffebe347a6766 (diff)
downloadast2050-flashrom-0435dfde2aba7d56796211be01828cc56de44b69.zip
ast2050-flashrom-0435dfde2aba7d56796211be01828cc56de44b69.tar.gz
Commit 845 is wrong, as I deleted a wrong line when I wanted to remove debugging print code
This (hopefully obviously correct) patch fixes the issue. As a previous version (before adding the debugging statement) was already executed on the board, the missing OUTW was executed on the testers machine on an earlier flashrom run. Corresponding to flashrom svn r846. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Luc Verhaegen <libv@skynet.be>
Diffstat (limited to 'board_enable.c')
-rw-r--r--board_enable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board_enable.c b/board_enable.c
index 7d1730f..2446ddd 100644
--- a/board_enable.c
+++ b/board_enable.c
@@ -967,7 +967,7 @@ static int board_msi_651ml(const char *name)
base = pci_read_word(dev, 0x74);
temp = INW(base + 0x68);
temp &= ~(1 << 0); /* Make pin output? */
- printf_debug("changed to %04x\n",temp);
+ OUTW(temp, base + 0x68);
temp = INW(base + 0x64);
temp |= (1 << 0); /* Raise output? */
OpenPOWER on IntegriCloud