u-boot-brain/drivers
Simon Glass 878d68c0c3 dm: core: Add functions to obtain node's address/size cells
The of_n_addr_cells() and of_n_size_cells() functions are useful for
getting the size of addresses in a node, but in a few places U-Boot needs
to obtain the actual property value for a node without walking up the
stack. Add functions for this and just the existing code to use it.

Add a comment to the existing ofnode functions which do not do the right
thing with a flat tree.

This fixes a problem reading PCI addresses.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Tested-on: Beaver, Jetson-TK1
2017-07-11 10:08:20 -06:00
..
adc dm: adc: Convert uclass to livetree 2017-06-01 07:03:13 -06:00
ata dm: ahci: Add a driver for SCSI on AHCI 2017-07-11 10:08:19 -06:00
bios_emulator bios_emulator: Fix cast for 64-bit compilation 2016-10-11 11:55:33 +08:00
block scsi: Move drivers into new drivers/scsi directory 2017-07-11 10:08:19 -06:00
bootcount powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
clk Merge git://git.denx.de/u-boot-uniphier 2017-06-24 18:18:41 -04:00
core dm: core: Add functions to obtain node's address/size cells 2017-07-11 10:08:20 -06:00
cpu dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
crypto Convert CONFIG_CMD_HASH to Kconfig 2017-05-22 12:38:15 -04:00
ddr treewide: remove unneeded semicolons 2017-06-16 10:11:38 -04:00
demo dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
dfu dfu: dfu_sf: Fix read offset 2017-06-03 19:08:31 +02:00
dma dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
firmware dm: core: Rename of_device_is_compatible() 2017-06-01 07:03:06 -06:00
fpga fpga: zynqmppl: Reuse invoke_smc routine 2017-06-20 16:42:13 +02:00
gpio gpio: add static to get_function() 2017-07-06 13:09:36 -04:00
i2c powerpc, 8xx: Migrate to Kconfig 2017-07-08 15:56:01 -04:00
input powerpc, 5xxx, 512x: remove support for mpc5xxx and mpc512x 2017-06-16 10:14:55 -04:00
led dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
mailbox dm: mailbox: Update uclass to support livetree 2017-06-01 07:03:15 -06:00
memory memory: Move TI_AEMIF config to KCONFIG 2016-04-18 17:11:43 -04:00
misc i2c_eeprom: add static to i2c_eeprom_std_ops/probe 2017-06-26 07:12:47 +02:00
mmc driver: mmc: update debug info 2017-07-10 14:26:03 -04:00
mtd mtd: stm32: use parameter instead of default value 2017-07-10 14:26:05 -04:00
net powerpc, 8xx: Add support for MCR3000 board from CSSI 2017-07-08 15:56:06 -04:00
pch dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
pci dm: core: Add functions to obtain node's address/size cells 2017-07-11 10:08:20 -06:00
pcmcia powerpc, 8xx: remove support for 8xx 2017-06-12 08:37:55 -04:00
phy pipe3: Fix broken dependency 2017-07-10 14:26:05 -04:00
pinctrl pinctrl: stm32: add set_state ops 2017-07-10 14:26:02 -04:00
power Merge git://www.denx.de/git/u-boot-imx 2017-06-27 09:32:37 -04:00
pwm rockchip: Setup default PWM flags 2017-06-09 13:39:34 -06:00
qe QE: add QE support on SD boot 2017-06-01 19:56:54 -07:00
ram drivers: ram: stm32: fix compilation issue 2017-06-05 14:13:13 -04:00
remoteproc dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
reset ARM: uniphier: fix various sparse warnings 2017-06-25 06:06:09 +09:00
rtc powerpc, 5xxx, 512x: remove support for mpc5xxx and mpc512x 2017-06-16 10:14:55 -04:00
scsi dm: scsi: Drop scsi_init() when driver model is used 2017-07-11 10:08:19 -06:00
serial powerpc, 8xx: move Serial driver to drivers/serial/ 2017-07-08 15:56:04 -04:00
soc Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sound dm: gpio: Add live tree support 2017-06-01 07:03:10 -06:00
spi powerpc, 8xx: move SPI driver to drivers/spi/ 2017-07-08 15:56:03 -04:00
spmi dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
sysreset rockchip: Add core Soc start-up code for rv1108 2017-06-07 07:29:25 -06:00
thermal thermal: imx: fix calculation 2017-05-18 11:23:31 +02:00
timer dm: core: Update lists_bind_fdt() to use ofnode 2017-06-01 07:03:08 -06:00
tpm dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
usb dm: scsi: Rename struct SCSI_cmd_block to struct scsi_cmd 2017-07-11 10:08:19 -06:00
video avr32: Retire AVR32 for good 2017-07-06 16:17:19 -04:00
watchdog wdt: Unify option of timeout value 2017-07-07 07:38:23 -04:00
Kconfig scsi: Move drivers into new drivers/scsi directory 2017-07-11 10:08:19 -06:00
Makefile scsi: Move drivers into new drivers/scsi directory 2017-07-11 10:08:19 -06:00