diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-06-04 19:05:39 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-06-04 19:05:39 +0000 |
commit | b5b161b260b119d90a7f22e1c8ec1174de5eacf9 (patch) | |
tree | ac20b472a8408769c2a9956b28a2ea72fcc4b469 /flash.h | |
parent | 2db77a03ef8b6b3cb980b9aba7e5009d778f62da (diff) | |
download | flashrom-b5b161b260b119d90a7f22e1c8ec1174de5eacf9.tar.gz flashrom-b5b161b260b119d90a7f22e1c8ec1174de5eacf9.tar.bz2 flashrom-b5b161b260b119d90a7f22e1c8ec1174de5eacf9.zip |
Internal: introduce processor enables and abort if top/bottom alignment is unknown
The internal programmer needs correct information about flash_base and
chip window top/bottom alignment on non-x86 before it can be used. Abort
any internal programmer action for now until the code is fixed.
Add the concept of a processor enable for systems where flashing is
impacted by processor settings or processor model.
Corresponding to flashrom svn r1031.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'flash.h')
-rw-r--r-- | flash.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -361,6 +361,9 @@ int board_flash_enable(const char *vendor, const char *part); /* chipset_enable.c */ int chipset_flash_enable(void); +/* processor_enable.c */ +int processor_flash_enable(void); + /* physmap.c */ void *physmap(const char *descr, unsigned long phys_addr, size_t len); void *physmap_try_ro(const char *descr, unsigned long phys_addr, size_t len); |