Buildfix
This commit is contained in:
@@ -1,4 +1,14 @@
|
|||||||
#include "flashrom.h"
|
#include "flashrom.h"
|
||||||
|
|
||||||
|
uint8 flashrom_manufacturerID;
|
||||||
|
uint8 flashrom_modelID;
|
||||||
|
int flashrom_state;
|
||||||
|
uint32 flashrom_sectorSize;
|
||||||
|
int flashrom_timeOut;
|
||||||
|
uint32 flashrom_magicAddr1;
|
||||||
|
uint32 flashrom_magicAddr2;
|
||||||
|
uint32 flashrom_magicMask;
|
||||||
|
|
||||||
void flashrom_init (uint8 manufacturerID, uint8 modelID, uint32 sectorSize, uint32 magicAddr1, uint32 magicAddr2, uint32 magicMask) {
|
void flashrom_init (uint8 manufacturerID, uint8 modelID, uint32 sectorSize, uint32 magicAddr1, uint32 magicAddr2, uint32 magicMask) {
|
||||||
flashrom_manufacturerID =manufacturerID;
|
flashrom_manufacturerID =manufacturerID;
|
||||||
flashrom_modelID =modelID;
|
flashrom_modelID =modelID;
|
||||||
|
|||||||
@@ -2,14 +2,14 @@
|
|||||||
#define _FLASHROM_H
|
#define _FLASHROM_H
|
||||||
#include "mapinc.h"
|
#include "mapinc.h"
|
||||||
|
|
||||||
uint8 flashrom_manufacturerID;
|
extern uint8 flashrom_manufacturerID;
|
||||||
uint8 flashrom_modelID;
|
extern uint8 flashrom_modelID;
|
||||||
int flashrom_state;
|
extern int flashrom_state;
|
||||||
uint32 flashrom_sectorSize;
|
extern uint32 flashrom_sectorSize;
|
||||||
int flashrom_timeOut;
|
extern int flashrom_timeOut;
|
||||||
uint32 flashrom_magicAddr1;
|
extern uint32 flashrom_magicAddr1;
|
||||||
uint32 flashrom_magicAddr2;
|
extern uint32 flashrom_magicAddr2;
|
||||||
uint32 flashrom_magicMask;
|
extern uint32 flashrom_magicMask;
|
||||||
|
|
||||||
void flashrom_init (uint8, uint8, uint32, uint32, uint32, uint32);
|
void flashrom_init (uint8, uint8, uint32, uint32, uint32, uint32);
|
||||||
uint8 flashrom_read (uint32);
|
uint8 flashrom_read (uint32);
|
||||||
|
|||||||
Reference in New Issue
Block a user