diff options
author | Simon Glass | 2020-05-24 17:38:13 -0600 |
---|---|---|
committer | Bin Meng | 2020-05-27 14:40:09 +0800 |
commit | 45637dbfce9e5afb07d4c560f8ee24cff3cc1ab8 (patch) | |
tree | 451cc5abbf3eab8ae970d294a12e6fa12b3aa02d /include/cbfs.h | |
parent | ea38ee93ef5d5bfeb478c58b1cb470383a14e4b6 (diff) |
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/cbfs.h')
-rw-r--r-- | include/cbfs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cbfs.h b/include/cbfs.h index d18001da76e..07bbcfd2cff 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); /** |