diff options
author | stefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2013-07-13 23:31:37 +0000 |
---|---|---|
committer | stefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2013-07-13 23:31:37 +0000 |
commit | 9c8e1f7c873c77bd6c905e5352d89c6233f86e24 (patch) | |
tree | 574e4a82e15854b6bc4393c5f56005fe2b4bda9c /flash.h | |
parent | 7a48c94a6ed1d770f5159428094102bbac5e67f7 (diff) | |
download | flashrom-9c8e1f7c873c77bd6c905e5352d89c6233f86e24.tar.gz |
Use uintptr_t for chipaddr instead of unsigned long.
Signed-off-by: Stefan Tauner <stefan.tauner@student.tuwien.ac.at>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1698 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'flash.h')
-rw-r--r-- | flash.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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, |