mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-23 14:51:31 +02:00
riscv: Change phys_addr_t and phys_size_t to 64-bit
phys_addr_t and phys_size_t are currently defined as `unsigned long`, but RV32 supports 34-bit physical address, hence both phys_addr_t and phys_size_t should be defined to 64-bit using `unsigned long long`. Signed-off-by: Bin Meng <bin.meng@windriver.com>
This commit is contained in:
parent
d17e9d2558
commit
86c915628d
@ -35,8 +35,8 @@ typedef u64 dma_addr_t;
|
|||||||
typedef u32 dma_addr_t;
|
typedef u32 dma_addr_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef unsigned long phys_addr_t;
|
typedef unsigned long long phys_addr_t;
|
||||||
typedef unsigned long phys_size_t;
|
typedef unsigned long long phys_size_t;
|
||||||
|
|
||||||
#endif /* __KERNEL__ */
|
#endif /* __KERNEL__ */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user