hailfinger
|
39d159a7f3
Every SPI programmer driver had its own completely different chip write
|
14 years ago |
snelson
|
e42c380247
convert programmer print messages to msg_p*
|
14 years ago |
uwe
|
3a3ab2f811
Polish the flashrom code comments and outputs a bit.
|
15 years ago |
snelson
|
8913d08dcf
Split spi.c into programmer and chip code
|
15 years ago |
hailfinger
|
82e324949d
This megapatch rewrites substantial parts of ICH SPI to actually do what
|
15 years ago |
hailfinger
|
1220e59746
Programmer debug messages during programmer init/shutdown are useful
|
15 years ago |
hailfinger
|
f906e9c209
Kill hardcoded block erase on ICH SPI.
|
15 years ago |
hailfinger
|
b99520884d
Since we don't have any debug level printing infrastructure yet, I
|
15 years ago |
hailfinger
|
bb09211d6e
The current ICH SPI preop handling is a hack which spews lots of
|
15 years ago |
uwe
|
2a41434539
Standardize on using __func__ instead of __FUNCTION__.
|
15 years ago |
hailfinger
|
fab0bc9d26
Remove unnecessary #include files.
|
15 years ago |
hailfinger
|
948b81ff3d
Replace most of the switch cases in the spi code with lookup on a struct
|
15 years ago |
hailfinger
|
9c290a72b3
Use a distinct return code for SPI commands with unsupported/invalid
|
15 years ago |
hailfinger
|
68002c26d5
Add SPI multicommand infrastructure.
|
15 years ago |
hailfinger
|
a128904ef6
Check result of all SPI erase functions.
|
15 years ago |
hailfinger
|
1ec348d7e1
Use spi_nbyte_program in ichspi.c.
|
15 years ago |
hailfinger
|
0f08b7a50c
This patch gives us arbitrary range reads at byte boundaries for every
|
15 years ago |
hailfinger
|
7b414744c2
Every SPI host controller implemented its own way to read flash chips.
|
15 years ago |
hailfinger
|
e5829f6108
Add external programmer delay functions so external programmers can
|
15 years ago |
hailfinger
|
4016746ab3
Add bus type annotation to struct flashchips. Right now, the annotation
|
15 years ago |
hailfinger
|
e092f843a3
Use REMS instead of RES in the ICH SPI default opcode table.
|
15 years ago |
hailfinger
|
38da681384
Use accessor functions for MMIO. Some MMIO accesses used volatile,
|
15 years ago |
uwe
|
abe92a50bf
Eliminate all 'inline's from the flashrom code. They serve pretty
|
15 years ago |
uwe
|
57195badde
Drop unused/duplicated #includes and some dead code (trivial).
|
15 years ago |
hailfinger
|
54c1466d72
There are various reasons why a SPI command can fail. Among others, I
|
15 years ago |
hailfinger
|
7d94ef5cab
Trim default ICH SPI delay from 1000 to 10 microseconds. Since many
|
15 years ago |
hailfinger
|
ed063f59eb
Chips like the SST SST25VF080B can only handle single byte writes
|
15 years ago |
uwe
|
5e931bc44a
Original v2 revision: 4117
|
16 years ago |
stuge
|
60061d46eb
Original v2 revision: 3918
|
16 years ago |
stuge
|
635d4730da
Original v2 revision: 3862
|
16 years ago |