plat/stm32: Implement fdt_read_uint32_default() as a wrapper
The STM32 platform code uses its own set of FDT helper functions,
although some of them are fairly generic.

Remove the implementation of fdt_read_uint32_default() and implement it
on top of the newly introduced fdt_read_uint32() function, then convert
all users over.

This also fixes two callers, which were slightly abusing the "default"
semantic.

Change-Id: I570533362b4846e58dd797a92347de3e0e5abb75
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
1 parent ff4e6c3 commit be858cffa91fbcd5b8657200fbec1667c65bb1b7
@Andre Przywara Andre Przywara authored on 26 Mar 2020
Showing 7 changed files
View
common/fdt_wrappers.c
View
drivers/st/clk/stm32mp1_clk.c
View
drivers/st/clk/stm32mp_clkfunc.c
View
drivers/st/ddr/stm32mp1_ram.c
View
include/common/fdt_wrappers.h
View
plat/st/common/include/stm32mp_dt.h
View
plat/st/common/stm32mp_dt.c