aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-05-24 17:38:13 -0600
committerBin Meng <bmeng.cn@gmail.com>2020-05-27 14:40:09 +0800
commit45637dbfce9e5afb07d4c560f8ee24cff3cc1ab8 (patch)
tree451cc5abbf3eab8ae970d294a12e6fa12b3aa02d /include
parentea38ee93ef5d5bfeb478c58b1cb470383a14e4b6 (diff)
downloadu-boot-45637dbfce9e5afb07d4c560f8ee24cff3cc1ab8.zip
u-boot-45637dbfce9e5afb07d4c560f8ee24cff3cc1ab8.tar.gz
u-boot-45637dbfce9e5afb07d4c560f8ee24cff3cc1ab8.tar.bz2
cbfs: Use ulong consistently
U-Boot uses ulong for addresses but there are a few places in this driver that don't use it. Convert this driver over to follow this convention fully. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/cbfs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cbfs.h b/include/cbfs.h
index d18001d..07bbcfd 100644
--- a/include/cbfs.h
+++ b/include/cbfs.h
@@ -101,7 +101,7 @@ enum cbfs_result cbfs_get_result(void);
* @end_of_rom: Points to the end of the ROM the CBFS should be read
* from.
*/
-void file_cbfs_init(uintptr_t end_of_rom);
+void file_cbfs_init(ulong end_of_rom);
/**
* file_cbfs_get_header() - Get the header structure for the current CBFS.
@@ -170,7 +170,7 @@ int cbfs_init_mem(ulong base, ulong size, struct cbfs_priv **privp);
*
* @return A handle to the file, or NULL on error.
*/
-const struct cbfs_cachenode *file_cbfs_find_uncached(uintptr_t end_of_rom,
+const struct cbfs_cachenode *file_cbfs_find_uncached(ulong end_of_rom,
const char *name);
/**