diff options
author | hailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2010-06-20 10:39:33 +0000 |
---|---|---|
committer | hailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2010-06-20 10:39:33 +0000 |
commit | 949b14eabd72d575c8671ee57fc0d5613bf57f3a (patch) | |
tree | 41d248006fe015d9b382728a9defb987427611e3 /spi.c | |
parent | fe02c42055d5e62de566201b5c58c3fe48f66737 (diff) | |
download | flashrom-949b14eabd72d575c8671ee57fc0d5613bf57f3a.tar.gz |
Fix message printing for SPI RES on spew level.
Use a blacklist instead of a whitelist for 4-byte SPI RDID.
Tell users where to report bugs.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Sean Nelson <audiohacked@gmail.com>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1051 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'spi.c')
-rw-r--r-- | spi.c | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -132,7 +132,8 @@ int spi_send_command(unsigned int writecnt, unsigned int readcnt, { if (!spi_programmer[spi_controller].command) { msg_perr("%s called, but SPI is unsupported on this " - "hardware. Please report a bug.\n", __func__); + "hardware. Please report a bug at " + "flashrom@flashrom.org\n", __func__); return 1; } @@ -144,7 +145,8 @@ int spi_send_multicommand(struct spi_command *cmds) { if (!spi_programmer[spi_controller].multicommand) { msg_perr("%s called, but SPI is unsupported on this " - "hardware. Please report a bug.\n", __func__); + "hardware. Please report a bug at " + "flashrom@flashrom.org\n", __func__); return 1; } @@ -183,8 +185,9 @@ int default_spi_send_multicommand(struct spi_command *cmds) int spi_chip_read(struct flashchip *flash, uint8_t *buf, int start, int len) { if (!spi_programmer[spi_controller].read) { - msg_perr("%s called, but SPI read is unsupported on this" - " hardware. Please report a bug.\n", __func__); + msg_perr("%s called, but SPI read is unsupported on this " + "hardware. Please report a bug at " + "flashrom@flashrom.org\n", __func__); return 1; } @@ -198,8 +201,9 @@ int spi_chip_read(struct flashchip *flash, uint8_t *buf, int start, int len) int spi_chip_write_256(struct flashchip *flash, uint8_t *buf) { if (!spi_programmer[spi_controller].write_256) { - msg_perr("%s called, but SPI page write is unsupported " - " on this hardware. Please report a bug.\n", __func__); + msg_perr("%s called, but SPI page write is unsupported on this " + "hardware. Please report a bug at " + "flashrom@flashrom.org\n", __func__); return 1; } |