mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 06:23:18 +02:00
Use uintptr_t for chipaddr instead of unsigned long
Corresponding to flashrom svn r1698. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
This commit is contained in:
3
flash.h
3
flash.h
@ -41,7 +41,8 @@
|
||||
#define ERROR_OOM -100
|
||||
#define TIMEOUT_ERROR -101
|
||||
|
||||
typedef unsigned long chipaddr;
|
||||
/* TODO: check using code for correct usage of types */
|
||||
typedef uintptr_t chipaddr;
|
||||
|
||||
int register_shutdown(int (*function) (void *data), void *data);
|
||||
void *programmer_map_flash_region(const char *descr, unsigned long phys_addr,
|
||||
|
Reference in New Issue
Block a user