1
0
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:
Stefan Tauner
2013-07-13 23:31:37 +00:00
parent 11990da1d3
commit c2333751c4
5 changed files with 15 additions and 15 deletions

View File

@ -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,