From c0aaf954874841c839c7131505759b9403ec7e4b Mon Sep 17 00:00:00 2001 From: Stefan Tauner Date: Thu, 19 May 2011 02:58:17 +0000 Subject: Whitespace, documentation and other small stuff This patch combines three previously posted patches in a revised form. one is even stolen from Stefan Reinauer (remove umlauts from man page). Corresponding to flashrom svn r1317. Signed-off-by: Stefan Tauner Signed-off-by: Stefan Reinauer Acked-by: Carl-Daniel Hailfinger Acked-by: Stefan Tauner --- flash.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'flash.h') diff --git a/flash.h b/flash.h index f75d8bbf..7086e01a 100644 --- a/flash.h +++ b/flash.h @@ -107,7 +107,9 @@ struct flashchip { uint32_t manufacture_id; uint32_t model_id; + /* Total chip size in kilobytes */ int total_size; + /* Chip page size in bytes */ int page_size; int feature_bits; @@ -125,6 +127,9 @@ struct flashchip { /* * Erase blocks and associated erase function. Any chip erase function * is stored as chip-sized virtual block together with said function. + * The first one that fits will be chosen. There is currently no way to + * influence that behaviour. For testing just comment out the other + * elements or set the function pointer to NULL. */ struct block_eraser { struct eraseblock{ -- cgit v1.2.3