Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Side by Side Diff: chipdrivers.h

Issue 6791015: Support variable-size SPI chip for dummy programmer. (Closed) Base URL: ssh://gitrw.chromium.org:9222/flashrom.git@master
Patch Set: refine according to code review Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | dummyflasher.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of the flashrom project. 2 * This file is part of the flashrom project.
3 * 3 *
4 * Copyright (C) 2009 Carl-Daniel Hailfinger 4 * Copyright (C) 2009 Carl-Daniel Hailfinger
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify 6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by 7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License. 8 * the Free Software Foundation; version 2 of the License.
9 * 9 *
10 * This program is distributed in the hope that it will be useful, 10 * This program is distributed in the hope that it will be useful,
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 /* wpce775x.c */ 130 /* wpce775x.c */
131 int probe_wpce775x(struct flashchip *flash); 131 int probe_wpce775x(struct flashchip *flash);
132 int erase_wpce775x(struct flashchip *flash, unsigned int page, unsigned int size ); 132 int erase_wpce775x(struct flashchip *flash, unsigned int page, unsigned int size );
133 int write_wpce775x(struct flashchip *flash, uint8_t * buf, int start, int len); 133 int write_wpce775x(struct flashchip *flash, uint8_t * buf, int start, int len);
134 134
135 /* stm50flw0x0x.c */ 135 /* stm50flw0x0x.c */
136 int erase_sector_stm50flw0x0x(struct flashchip *flash, unsigned int block, unsig ned int blocksize); 136 int erase_sector_stm50flw0x0x(struct flashchip *flash, unsigned int block, unsig ned int blocksize);
137 int erase_chip_stm50flw0x0x(struct flashchip *flash, unsigned int addr, unsigned int blocklen); 137 int erase_chip_stm50flw0x0x(struct flashchip *flash, unsigned int addr, unsigned int blocklen);
138 int unlock_stm50flw0x0x(struct flashchip *flash); 138 int unlock_stm50flw0x0x(struct flashchip *flash);
139 139
140 /* dummyflasher.c */
141 int probe_variable_size(struct flashchip *flash);
142
140 #endif /* !__CHIPDRIVERS_H__ */ 143 #endif /* !__CHIPDRIVERS_H__ */
OLDNEW
« no previous file with comments | « no previous file | dummyflasher.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698