| /rk3399_rockchip-uboot/include/dm/ |
| H A D | of_access.h | 878d68c0c357ff62120d5783d950f34ecd1065d9 Mon Jun 12 12:21:31 UTC 2017 Simon Glass <sjg@chromium.org> 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
|
| H A D | ofnode.h | 878d68c0c357ff62120d5783d950f34ecd1065d9 Mon Jun 12 12:21:31 UTC 2017 Simon Glass <sjg@chromium.org> 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
|
| H A D | read.h | 878d68c0c357ff62120d5783d950f34ecd1065d9 Mon Jun 12 12:21:31 UTC 2017 Simon Glass <sjg@chromium.org> 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
|
| /rk3399_rockchip-uboot/drivers/core/ |
| H A D | regmap.c | 878d68c0c357ff62120d5783d950f34ecd1065d9 Mon Jun 12 12:21:31 UTC 2017 Simon Glass <sjg@chromium.org> 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
|
| H A D | of_access.c | 878d68c0c357ff62120d5783d950f34ecd1065d9 Mon Jun 12 12:21:31 UTC 2017 Simon Glass <sjg@chromium.org> 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
|
| H A D | read.c | 878d68c0c357ff62120d5783d950f34ecd1065d9 Mon Jun 12 12:21:31 UTC 2017 Simon Glass <sjg@chromium.org> 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
|
| H A D | ofnode.c | 878d68c0c357ff62120d5783d950f34ecd1065d9 Mon Jun 12 12:21:31 UTC 2017 Simon Glass <sjg@chromium.org> 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
|
| /rk3399_rockchip-uboot/drivers/pci/ |
| H A D | pci-uclass.c | 878d68c0c357ff62120d5783d950f34ecd1065d9 Mon Jun 12 12:21:31 UTC 2017 Simon Glass <sjg@chromium.org> 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
|