]> git.sur5r.net Git - u-boot/commit
dm: Rename dev_addr..() functions
authorSimon Glass <sjg@chromium.org>
Wed, 17 May 2017 23:18:05 +0000 (17:18 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2017 13:03:01 +0000 (07:03 -0600)
commita821c4af79e4f5ce9b629b20473863397bbe9b10
tree7b5da59e0db526cf6ace38b03639789996cf9b43
parentd6ffb00a438ef8ba714feb2c72a7ddbdebad2b2e
dm: Rename dev_addr..() functions

These support the flat device tree. We want to use the dev_read_..()
prefix for functions that support both flat tree and live tree. So rename
the existing functions to avoid confusion.

In the end we will have:

   1. dev_read_addr...()    - works on devices, supports flat/live tree
   2. devfdt_get_addr...()  - current functions, flat tree only
   3. of_get_address() etc. - new functions, live tree only

All drivers will be written to use 1. That function will in turn call
either 2 or 3 depending on whether the flat or live tree is in use.

Note this involves changing some dead code - the imx_lpi2c.c file.

Signed-off-by: Simon Glass <sjg@chromium.org>
194 files changed:
arch/arm/mach-mvebu/sata.c
arch/arm/mach-rockchip/rk3328/clk_rk3328.c
arch/arm/mach-snapdragon/clock-apq8016.c
drivers/adc/exynos-adc.c
drivers/block/dwc_ahci.c
drivers/block/sata_ceva.c
drivers/clk/aspeed/clk_ast2500.c
drivers/clk/at91/pmc.c
drivers/clk/clk_bcm6345.c
drivers/clk/exynos/clk-exynos7420.c
drivers/clk/rockchip/clk_rk3036.c
drivers/clk/rockchip/clk_rk3188.c
drivers/clk/rockchip/clk_rk3288.c
drivers/clk/rockchip/clk_rk3328.c
drivers/clk/rockchip/clk_rk3399.c
drivers/clk/uniphier/clk-uniphier-core.c
drivers/core/fdtaddr.c
drivers/cpu/bmips_cpu.c
drivers/dma/ti-edma3.c
drivers/gpio/altera_pio.c
drivers/gpio/at91_gpio.c
drivers/gpio/atmel_pio4.c
drivers/gpio/bcm2835_gpio.c
drivers/gpio/bcm6345_gpio.c
drivers/gpio/gpio-uniphier.c
drivers/gpio/imx_rgpio2p.c
drivers/gpio/msm_gpio.c
drivers/gpio/mvebu_gpio.c
drivers/gpio/mxc_gpio.c
drivers/gpio/omap_gpio.c
drivers/gpio/pm8916_gpio.c
drivers/gpio/rk_gpio.c
drivers/gpio/s5p_gpio.c
drivers/gpio/stm32f7_gpio.c
drivers/gpio/sunxi_gpio.c
drivers/gpio/tegra186_gpio.c
drivers/gpio/tegra_gpio.c
drivers/gpio/vybrid_gpio.c
drivers/gpio/zynq_gpio.c
drivers/i2c/Kconfig
drivers/i2c/ast_i2c.c
drivers/i2c/at91_i2c.c
drivers/i2c/davinci_i2c.c
drivers/i2c/designware_i2c.c
drivers/i2c/exynos_hs_i2c.c
drivers/i2c/i2c-cdns.c
drivers/i2c/i2c-uniphier-f.c
drivers/i2c/i2c-uniphier.c
drivers/i2c/imx_lpi2c.c
drivers/i2c/mv_i2c.c
drivers/i2c/mvtwsi.c
drivers/i2c/mxc_i2c.c
drivers/i2c/omap24xx_i2c.c
drivers/i2c/rk_i2c.c
drivers/i2c/s3c24x0_i2c.c
drivers/i2c/tegra_i2c.c
drivers/input/tegra-kbc.c
drivers/led/led_bcm6328.c
drivers/led/led_bcm6358.c
drivers/mailbox/tegra-hsp.c
drivers/misc/altera_sysid.c
drivers/mmc/atmel_sdhci.c
drivers/mmc/bcm2835_sdhci.c
drivers/mmc/fsl_esdhc.c
drivers/mmc/gen_atmel_mci.c
drivers/mmc/meson_gx_mmc.c
drivers/mmc/msm_sdhci.c
drivers/mmc/omap_hsmmc.c
drivers/mmc/rockchip_dw_mmc.c
drivers/mmc/rockchip_sdhci.c
drivers/mmc/sdhci-cadence.c
drivers/mmc/socfpga_dw_mmc.c
drivers/mmc/sti_sdhci.c
drivers/mmc/tangier_sdhci.c
drivers/mmc/tegra_mmc.c
drivers/mmc/uniphier-sd.c
drivers/mmc/xenon_sdhci.c
drivers/mmc/zynq_sdhci.c
drivers/net/ag7xxx.c
drivers/net/cpsw.c
drivers/net/designware.c
drivers/net/dwc_eth_qos.c
drivers/net/ethoc.c
drivers/net/fec_mxc.c
drivers/net/ftmac100.c
drivers/net/keystone_net.c
drivers/net/macb.c
drivers/net/mvneta.c
drivers/net/mvpp2.c
drivers/net/sandbox-raw.c
drivers/net/sandbox.c
drivers/net/sun8i_emac.c
drivers/net/sunxi_emac.c
drivers/net/tsec.c
drivers/net/xilinx_axi_emac.c
drivers/net/xilinx_emaclite.c
drivers/net/zynq_gem.c
drivers/pci/pcie_dw_mvebu.c
drivers/phy/marvell/comphy_core.c
drivers/phy/ti-pipe3-phy.c
drivers/pinctrl/ath79/pinctrl_ar933x.c
drivers/pinctrl/ath79/pinctrl_qca953x.c
drivers/pinctrl/exynos/pinctrl-exynos.c
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
drivers/pinctrl/mvebu/pinctrl-mvebu.c
drivers/pinctrl/pinctrl-at91-pio4.c
drivers/pinctrl/pinctrl-at91.c
drivers/pinctrl/pinctrl-single.c
drivers/pinctrl/uniphier/pinctrl-uniphier-core.c
drivers/power/domain/bcm6328-power-domain.c
drivers/power/pmic/pm8916.c
drivers/pwm/exynos_pwm.c
drivers/pwm/rk_pwm.c
drivers/pwm/tegra_pwm.c
drivers/ram/bmips_ram.c
drivers/reset/reset-bcm6345.c
drivers/reset/reset-uniphier.c
drivers/serial/altera_jtag_uart.c
drivers/serial/altera_uart.c
drivers/serial/atmel_usart.c
drivers/serial/ns16550.c
drivers/serial/serial_ar933x.c
drivers/serial/serial_arc.c
drivers/serial/serial_bcm283x_mu.c
drivers/serial/serial_bcm6345.c
drivers/serial/serial_lpuart.c
drivers/serial/serial_meson.c
drivers/serial/serial_msm.c
drivers/serial/serial_mvebu_a3700.c
drivers/serial/serial_mxc.c
drivers/serial/serial_pl01x.c
drivers/serial/serial_s5p.c
drivers/serial/serial_sti_asc.c
drivers/serial/serial_stm32x7.c
drivers/serial/serial_uniphier.c
drivers/serial/serial_xuartlite.c
drivers/serial/serial_zynq.c
drivers/spi/altera_spi.c
drivers/spi/ath79_spi.c
drivers/spi/atmel_spi.c
drivers/spi/davinci_spi.c
drivers/spi/designware_spi.c
drivers/spi/exynos_spi.c
drivers/spi/fsl_dspi.c
drivers/spi/kirkwood_spi.c
drivers/spi/mvebu_a3700_spi.c
drivers/spi/omap3_spi.c
drivers/spi/rk_spi.c
drivers/spi/tegra114_spi.c
drivers/spi/tegra20_sflash.c
drivers/spi/tegra20_slink.c
drivers/spi/tegra210_qspi.c
drivers/spi/ti_qspi.c
drivers/spi/zynq_spi.c
drivers/spmi/spmi-msm.c
drivers/sysreset/sysreset_snapdragon.c
drivers/timer/ae3xx_timer.c
drivers/timer/ag101p_timer.c
drivers/timer/altera_timer.c
drivers/timer/ast_timer.c
drivers/timer/omap-timer.c
drivers/tpm/tpm_tis_lpc.c
drivers/usb/host/dwc2.c
drivers/usb/host/ehci-atmel.c
drivers/usb/host/ehci-exynos.c
drivers/usb/host/ehci-fsl.c
drivers/usb/host/ehci-generic.c
drivers/usb/host/ehci-marvell.c
drivers/usb/host/ehci-msm.c
drivers/usb/host/ehci-mx6.c
drivers/usb/host/ehci-sunxi.c
drivers/usb/host/ehci-tegra.c
drivers/usb/host/ehci-vf.c
drivers/usb/host/ehci-zynq.c
drivers/usb/host/ohci-generic.c
drivers/usb/host/ohci-sunxi.c
drivers/usb/host/xhci-exynos5.c
drivers/usb/host/xhci-fsl.c
drivers/usb/host/xhci-mvebu.c
drivers/usb/host/xhci-rockchip.c
drivers/usb/musb-new/ti-musb.c
drivers/video/atmel_hlcdfb.c
drivers/video/exynos/exynos_dp.c
drivers/video/exynos/exynos_fb.c
drivers/video/rockchip/rk_edp.c
drivers/video/rockchip/rk_hdmi.c
drivers/video/rockchip/rk_lvds.c
drivers/video/rockchip/rk_mipi.c
drivers/video/rockchip/rk_vop.c
drivers/video/tegra.c
drivers/video/tegra124/dp.c
drivers/watchdog/ast_wdt.c
drivers/watchdog/bcm6345_wdt.c
include/dm/fdtaddr.h