diff options
| author | Bin Meng <bmeng.cn@gmail.com> | 2021-02-25 17:22:50 +0800 |
|---|---|---|
| committer | Priyanka Jain <priyanka.jain@nxp.com> | 2021-03-05 10:25:43 +0530 |
| commit | 271a87b4ecc498cf718738b1a5271c911eec17ff (patch) | |
| tree | 6b1aaf46db033f6d9f05df17580b93895d8463bd /arch/powerpc/include | |
| parent | f94cbb5b87e19ad4316966b581bd40f70ee80c93 (diff) | |
| download | u-boot-271a87b4ecc498cf718738b1a5271c911eec17ff.tar.gz u-boot-271a87b4ecc498cf718738b1a5271c911eec17ff.tar.xz u-boot-271a87b4ecc498cf718738b1a5271c911eec17ff.zip | |
gpio: mpc8xxx: Support controller register physical address beyond 32-bit
dev_read_addr_size_index() returns fdt_addr_t which might be a
64-bit physical address. This might be true for some 85xx SoCs
whose CCSBAR is mapped beyond 4 GiB.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'arch/powerpc/include')
| -rw-r--r-- | arch/powerpc/include/asm/arch-mpc85xx/gpio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/arch-mpc85xx/gpio.h b/arch/powerpc/include/asm/arch-mpc85xx/gpio.h index c7086a8361..79ba7868c2 100644 --- a/arch/powerpc/include/asm/arch-mpc85xx/gpio.h +++ b/arch/powerpc/include/asm/arch-mpc85xx/gpio.h @@ -18,7 +18,7 @@ #endif struct mpc8xxx_gpio_plat { - ulong addr; + phys_addr_t addr; unsigned long size; uint ngpios; }; |
