]> git.baikalelectronics.ru Git - uboot.git/commit
treewide: Try to avoid the preprocessor with OF_REAL
authorSimon Glass <sjg@chromium.org>
Sat, 7 Aug 2021 13:24:06 +0000 (07:24 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 25 Sep 2021 15:46:15 +0000 (09:46 -0600)
commit1196a6bb14a99bf59ae0aa3fa2842a9b1994a4a0
tree0415ef0a2804ac9dff88bc8ecfd28cd39a740de2
parent3e37a8fbe9a46ed23c4699675edf53da88782fe8
treewide: Try to avoid the preprocessor with OF_REAL

Convert some of these occurences to C code, where it is easy to do. This
should help encourage this approach to be used in new code.

Signed-off-by: Simon Glass <sjg@chromium.org>
21 files changed:
arch/x86/cpu/intel_common/p2sb.c
doc/develop/driver-model/of-plat.rst
drivers/clk/clk_fixed_factor.c
drivers/clk/clk_fixed_rate.c
drivers/clk/rockchip/clk_rk3188.c
drivers/clk/rockchip/clk_rk3288.c
drivers/clk/rockchip/clk_rk3368.c
drivers/clk/rockchip/clk_rk3399.c
drivers/misc/p2sb-uclass.c
drivers/mmc/fsl_esdhc_imx.c
drivers/mmc/ftsdc010_mci.c
drivers/mmc/rockchip_dw_mmc.c
drivers/ram/rockchip/dmc-rk3368.c
drivers/ram/rockchip/sdram_rk3188.c
drivers/ram/rockchip/sdram_rk322x.c
drivers/ram/rockchip/sdram_rk3288.c
drivers/ram/rockchip/sdram_rk3399.c
drivers/spi/rk_spi.c
drivers/spi/spi-uclass.c
drivers/timer/rockchip_timer.c
drivers/timer/timer-uclass.c