]> git.baikalelectronics.ru Git - arm-tf.git/commit
plat/stm32: Use generic fdt_read_uint32_array() implementation
authorAndre Przywara <andre.przywara@arm.com>
Thu, 26 Mar 2020 12:51:21 +0000 (12:51 +0000)
committerAndre Przywara <andre.przywara@arm.com>
Tue, 28 Apr 2020 14:56:31 +0000 (15:56 +0100)
commit52a616b48c617fe8721106f29f2910ca4681afea
tree9c38f82d440ef555adcf36f710127625cad519b2
parent6e3a89f449fa5b4c0153990a64124211197f426a
plat/stm32: Use generic fdt_read_uint32_array() implementation

The device tree parsing code for the STM32 platform is using its own FDT
helper functions, some of them being rather generic.
In particular the existing fdt_read_uint32_array() implementation is now
almost identical to the new generic code in fdt_wrappers.c, so we can
remove the ST specific version and adjust the existing callers.

Compared to the original ST implementation the new version takes a
pointer to the DTB as the first argument, and also swaps the order of
the number of cells and the pointer.

Change-Id: Id06b0f1ba4db1ad1f733be40e82c34f46638551a
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
drivers/st/clk/stm32mp1_clk.c
drivers/st/clk/stm32mp_clkfunc.c
drivers/st/ddr/stm32mp1_ram.c
include/drivers/st/stm32mp_clkfunc.h
plat/st/common/include/stm32mp_dt.h
plat/st/common/stm32mp_dt.c
plat/st/stm32mp1/platform.mk