u-boot/drivers/ddr/altera
Johan Jonker 320a1938b6 drivers: use devfdt_get_addr_index_ptr when cast to pointer
The fdt_addr_t and phys_addr_t size have been decoupled. A 32bit CPU
can expect 64-bit data from the device tree parser, so use
devfdt_get_addr_index_ptr instead of the devfdt_get_addr_index function
in the various files in the drivers directory that cast to a pointer.
As we are there also streamline the error response to -EINVAL on return.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-05-06 17:28:18 +08:00
..
Kconfig arm: socfpga: Move Stratix10 and Agilex to use TARGET_SOCFPGA_SOC64 2021-03-08 10:59:10 +08:00
Makefile ddr: altera: Add SDRAM driver for Intel N5X device 2021-08-25 13:47:05 +08:00
sdram_agilex.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
sdram_arria10.c cyclic: Use schedule() instead of WATCHDOG_RESET() 2022-09-18 10:26:33 +02:00
sdram_gen5.c drivers: use devfdt_get_addr_index_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
sdram_n5x.c cyclic: Use schedule() instead of WATCHDOG_RESET() 2022-09-18 10:26:33 +02:00
sdram_s10.c ddr: altera: Stratix10: Use phys_size_t for memory size 2022-06-16 16:10:58 +08:00
sdram_s10.h ddr: altera: Restructure Stratix 10 SDRAM driver 2020-01-07 14:38:33 +01:00
sdram_soc64.c cyclic: Use schedule() instead of WATCHDOG_RESET() 2022-09-18 10:26:33 +02:00
sdram_soc64.h ddr: altera: Ignore bit[7-4] for both seq2core & core2seq handshake in HPS 2022-06-16 16:10:44 +08:00
sequencer.c drivers/ddr/altera/sequencer.c: Fix spelling of "resetting". 2022-01-13 07:57:50 -05:00
sequencer.h ddr: altera: Add DDR2 support to Gen5 driver 2020-02-05 03:01:57 +01:00