Gitiles
Code Review
Sign In
review.sourcearcade.org
/
flashprog
/
ac1b4c8bd707c07e9636bedbd823ed5cb46f89ad
/
ichspi.c
ac427b2
Add a bunch of new/tested stuff and various small changes 10
by Paul Menzel
· 13 years ago
5210e72
ichspi.c: warn user and disable writes when a protected address range is detected
by Stefan Tauner
· 13 years ago
c40cff7
Have all programmer init functions register bus masters/programmers
by Carl-Daniel Hailfinger
· 13 years ago
8a3c60c
Add struct flashctx * parameter to all functions accessing flash chips
by Carl-Daniel Hailfinger
· 13 years ago
63fd902
Use struct flashctx instead of struct flashchip for flash chip access
by Carl-Daniel Hailfinger
· 13 years ago
c69c9c8
Unsignify lengths and addresses in chip functions and structs
by Stefan Tauner
· 13 years ago
745f6bb
ichspi: fix ich_init_opcodes() calls in ich_init_spi()
by Stefan Tauner
· 13 years ago
eaacd2d
Register Parallel/LPC/FWH programmers the same way SPI programmers are registered
by Carl-Daniel Hailfinger
· 13 years ago
f382e35
ichspi: print flash descriptor dependent information only when it is valid
by Stefan Tauner
· 13 years ago
50e7c60
ichspi: add support for Intel Hardware Sequencing
by Stefan Tauner
· 13 years ago
a8d838d
ichspi: use a variable to distinguish ich generations instead of spi_programmer->type
by Stefan Tauner
· 13 years ago
d0c5dc2
ichspi: add (partially) dead support code for Intel Hardware Sequencing
by Stefan Tauner
· 13 years ago
e3185c0
ichspi: inform the user about the consequences of the security override strap
by Stefan Tauner
· 13 years ago
75da80c
ichspi: unlock PR register restrictions on ICH8+ if not locked down
by Stefan Tauner
· 13 years ago
bf69aaa
ichspi: add prettyprinting for PR registers on ICH8+
by Stefan Tauner
· 13 years ago
7783f31
ichspi: don't touch the nonexistent(?) BBAR register on ICH8
by Stefan Tauner
· 13 years ago
84e1dde
ichspi: improve prettyprint_opcodes
by Stefan Tauner
· 13 years ago
1e14639
ichspi: add ICH/PCH flash descriptor decoding via FDOC/FDOD
by Stefan Tauner
· 13 years ago
a63c7c4
Remove unneeded inclusions of chipdrivers.h
by Stefan Tauner
· 13 years ago
8b391b8
ichspi.c: refactor filling and reading the fdata/spid registers
by Stefan Tauner
· 13 years ago
91f4afa
Random whitespace and coding-style fixes
by Uwe Hermann
· 13 years ago
1a22795
Rename CHIP_BUSTYPE_FOO to BUS_FOO
by Carl-Daniel Hailfinger
· 13 years ago
122dd12
ichspi.c: do not print PBR[3] for ICH7 because it does not exist
by Stefan Tauner
· 13 years ago
5ffe65b
ichspi.c: print FADDR in ich_init_spi
by Stefan Tauner
· 13 years ago
10b3e22
ichspi.c: preserve reserved bits in address registers
by Stefan Tauner
· 13 years ago
bd649e4
ichspi.c: add FPB (Flash Partition Boundary) macros and init printing
by Stefan Tauner
· 13 years ago
e27b2d4
ichspi.c: simplify ich_set_bbar
by Stefan Tauner
· 13 years ago
ccd92a1
ichspi.c: make REGWRITE* macros safer
by Stefan Tauner
· 13 years ago
29c8083
ichspi.c: add missing ICH9 register macros and eliminate magic numbers
by Stefan Tauner
· 13 years ago
b2d5f6a
Use the max_data_read field of the new spi_programmer struct to simplify run_opcode
by Stefan Tauner
· 13 years ago
5520694
ichspi.c: add macros and pretty printing for HSFS and HSFC
by Stefan Tauner
· 13 years ago
2a8b262
ichspi.c: add pretty printing for SSFS+SSFC and the OPCODE struct
by Stefan Tauner
· 13 years ago
0c1ec45
ichspi.c: improve macros for SSFS and SSFC bits
by Stefan Tauner
· 13 years ago
355cbfd
Small fixes
by Stefan Tauner
· 13 years ago
d172ecd
ichspi: fix detection of unused regions
by Joshua Roys
· 13 years ago
c0aaf95
Whitespace, documentation and other small stuff
by Stefan Tauner
· 13 years ago
b9dbe48
Kill central list of SPI programmers
by Michael Karcher
· 14 years ago
6279751
Factor out SPI write/read chunking wrappers
by Michael Karcher
· 14 years ago
54ce73a
Revert MMIO space writes on shutdown as needed
by Carl-Daniel Hailfinger
· 14 years ago
8ed2934
Improve output in case run_opcode fails
by Stefan Tauner
· 14 years ago
136125a
ichspi: Increase timeout to 60s for atomic operations
by Michael Karcher
· 14 years ago
eacbd16
Proper error handling for ICH/VIA SPI
by Carl-Daniel Hailfinger
· 14 years ago
a60faab
Convince compilers to put constant data into the .rodata section
by Mathias Krause
· 14 years ago
841d631
Dump all VIA SPI registers like for ICH7
by Carl-Daniel Hailfinger
· 14 years ago
738e252
Implement on-the-fly reprogramming of the ICH SPI OPCODE table
by Helge Wagner
· 14 years ago
a319be1
Add support for Intel 5 Series / 3400 Series chipsets
by Helge Wagner
· 14 years ago
5b997c3
Split off programmer.h from flash.h
by Carl-Daniel Hailfinger
· 14 years ago
a4448d9
Move Intel SPI initialisation to ichspi.c
by Michael Karcher
· 14 years ago
29a1c66
Use generic unlocking infrastructure for SPI chips
by Carl-Daniel Hailfinger
· 14 years ago
9a795d8
Convert SPI chips to partial write
by Carl-Daniel Hailfinger
· 14 years ago
ad3cc55
Kill global variables, constants and functions if local scope suffices
by Carl-Daniel Hailfinger
· 14 years ago
80f3d05
ichspi: try harder to conform to address restrictions
by Carl-Daniel Hailfinger
· 14 years ago
cceafa2
Handle the following architectures in generic flashrom code
by Carl-Daniel Hailfinger
· 14 years ago
5824fbf
Introduce a generic SPI read function: spi_write_chunked()
by Carl-Daniel Hailfinger
· 14 years ago
316a29f
Convert various prints to use msg_p* and msg_g* respectively
by Sean Nelson
· 15 years ago
4e3d0b3
Polish the flashrom code comments and outputs a bit
by Uwe Hermann
· 15 years ago
14ba668
Split spi.c into programmer and chip code Remove chipdriver.h include from flash.h
by Sean Nelson
· 15 years ago
f15e1ab
Rewrite substantial parts of the ICH SPI support
by Carl-Daniel Hailfinger
· 15 years ago
5609fa7
Allow one to disable programmer debug messages at compile time
by Carl-Daniel Hailfinger
· 15 years ago
9612303
Kill hardcoded block erase on ICH SPI
by Carl-Daniel Hailfinger
· 15 years ago
0709a78
ichspi: remove obnoxious debug message
by Carl-Daniel Hailfinger
· 15 years ago
26f7e64
The current ICH SPI preop handling is a hack which spews lots of warnings, but still yields correct results
by Carl-Daniel Hailfinger
· 15 years ago
04aa59a
Standardize on using __func__ instead of __FUNCTION__
by Uwe Hermann
· 15 years ago
be72681
Remove unnecessary #include files
by Carl-Daniel Hailfinger
· 15 years ago
02487aa
Replace most of the switch cases in the spi code with lookup on a struct instead
by Carl-Daniel Hailfinger
· 15 years ago
142e30f
Use a distinct return code for SPI commands with unsupported/invalid length
by Carl-Daniel Hailfinger
· 15 years ago
d047829
Add SPI multicommand infrastructure
by Carl-Daniel Hailfinger
· 15 years ago
3431bb7
Check result of all SPI erase functions
by Carl-Daniel Hailfinger
· 15 years ago
d168057
Use spi_nbyte_program in ichspi.c
by Carl-Daniel Hailfinger
· 15 years ago
cbf563c
Support reads of arbitrary range
by Carl-Daniel Hailfinger
· 15 years ago
38a059d
Every SPI host controller implemented its own way to read flash chips
by Carl-Daniel Hailfinger
· 15 years ago
ca8bfc6
Add programmer-specific delay functions
by Carl-Daniel Hailfinger
· 15 years ago
1dfe0ff
Add bus type annotation to struct flashchips
by Carl-Daniel Hailfinger
· 15 years ago
15aa7c6
Use REMS instead of RES in the ICH SPI default opcode table
by Carl-Daniel Hailfinger
· 15 years ago
78185dc
Use accessor functions for MMIO
by Carl-Daniel Hailfinger
· 15 years ago
09e04f7
Eliminate all 'inline's from the flashrom code
by Uwe Hermann
· 15 years ago
2cac686
Drop unused/duplicated #includes and some dead code
by Uwe Hermann
· 15 years ago
3e9dbea
There are various reasons why a SPI command can fail
by Carl-Daniel Hailfinger
· 16 years ago
4c24ad4
Trim default ICH SPI delay from 1000 to 10 microseconds
by Carl-Daniel Hailfinger
· 16 years ago
96930c3
Chips like the SST SST25VF080B can only handle single byte writes outside AAI mode
by Carl-Daniel Hailfinger
· 16 years ago
7b2969b
Some coding style and consistency fixes
by Uwe Hermann
· 16 years ago
b219ba3
Fix one dead increment and one dead assignment as found by clang
by Peter Stuge
· 16 years ago
016d4e1
Add ICH opcode debugging
by Peter Stuge
· 16 years ago
f041e9b
Various ichspi.c refinements
by FENG yu ning
· 16 years ago
c05a295
Generates OPCODES struct from the ICH7/ICH9/VIA chipset if its SPI configuration is locked down
by FENG yu ning
· 16 years ago
738fdff
ichspi: use spi_nbyte_read() instead of running the opcode directly
by Carl-Daniel Hailfinger
· 16 years ago
6afb613
Add additional SPI sector erase and chip erase command functions
by Carl-Daniel Hailfinger
· 16 years ago
4311956
Drop nr/opcode_index parameter from run_opcode and search the opmenu for the opcode instead
by Stefan Reinauer
· 16 years ago
394131e
Coding-style fixes for flashrom, partly indent-aided
by Uwe Hermann
· 16 years ago
6a21416
Trivial indent fix in ichspi.c
by Peter Stuge
· 16 years ago
2cb94e1
First attempt to clean up SPI probing and create a common construct: the flash bus
by Stefan Reinauer
· 16 years ago
3fdbccf
This patch adds support for VIA SPI controller on VT8237S
by Rudolf Marek
· 16 years ago
1069335
Add a debug marker after ICH SPI opcode programming
by Carl-Daniel Hailfinger
· 16 years ago
7e2c079
Fix ICH7 non-SPI that broke in r3393
by Peter Stuge
· 16 years ago
a9424d5
Multiple unrelated changes
by Stefan Reinauer
· 16 years ago
325b5d4
Indent according to development guidelines
by Stefan Reinauer
· 16 years ago
b46acba
Add support for SPI chips on ICH9
by Dominik Geyer
· 16 years ago