From fd7075ae75c04df49f61a7617e772c54e0b4984d Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Thu, 29 Jul 2010 13:09:18 +0000 Subject: Add detailed status register printing and unlocking for all ATMEL AT25* chips Add support for Atmel AT25DF081A and AT25DQ161. Some chips require EWSR before WRSR, others require WREN before WRSR, and some support both variants. Add feature_bits to select the correct SPI command, and default to EWSR. Corresponding to flashrom svn r1115. Signed-off-by: Carl-Daniel Hailfinger Tested-by: Steven Rosario Acked-by: Uwe Hermann --- spi.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'spi.c') diff --git a/spi.c b/spi.c index b005cdc..ebacd60 100644 --- a/spi.c +++ b/spi.c @@ -30,8 +30,6 @@ enum spi_controller spi_controller = SPI_CONTROLLER_NONE; -void spi_prettyprint_status_register(struct flashchip *flash); - const struct spi_programmer spi_programmer[] = { { /* SPI_CONTROLLER_NONE */ .command = NULL, -- cgit v1.1