arm-trusted-firmware/drivers/st
Andre Przywara 7ad6d36201 plat/stm32: Use generic fdt_get_reg_props_by_name()
The STM32 platform port parse DT nodes to find base address to
peripherals. It does this by using its own implementation, even though
this functionality is generic and actually widely useful outside of the
STM32 code.

Re-implement fdt_get_reg_props_by_name() on top of the newly introduced
fdt_get_reg_props_by_index() function, and move it to fdt_wrapper.c.
This is removes the assumption that #address-cells and #size-cells are
always one.

Change-Id: I6d584930262c732b6e0356d98aea50b2654f789d
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2020-05-05 15:36:51 +01:00
..
bsec bsec: move bsec_mode_is_closed_device() service to platform 2019-09-20 23:21:10 +02:00
clk plat/stm32: Implement fdt_read_uint32_default() as a wrapper 2020-04-29 10:19:17 +01:00
crypto crypto: stm32_hash: Add HASH driver 2019-09-20 23:21:10 +02:00
ddr plat/stm32: Implement fdt_read_uint32_default() as a wrapper 2020-04-29 10:19:17 +01:00
fmc nand: stm32_fmc2_nand: correct xor_ecc.val assigned value 2020-03-23 16:42:33 +01:00
gpio gpio: stm32_gpio: do not mix error code types 2019-10-03 11:17:48 +02:00
i2c stm32mp1: update I2C and PMIC drivers 2019-02-14 11:20:23 +01:00
io io: io_stm32image: correct possible NULL pointer dereference 2020-03-23 16:42:37 +01:00
iwdg stm32mp1: add watchdog support 2019-09-02 17:25:08 +02:00
mmc mmc: stm32_sdmmc2: correctly manage block size 2019-09-02 17:53:16 +02:00
pmic stm32mp1: add support for LpDDR3 2019-09-02 17:52:29 +02:00
reset stm32mp1: add timeout detection in reset driver 2019-02-14 11:20:23 +01:00
spi plat/stm32: Use generic fdt_get_reg_props_by_name() 2020-05-05 15:36:51 +01:00
uart/aarch32 stm32: Use generic console_t data structure 2020-02-25 09:34:38 +00:00