Home
last modified time | relevance | path

Searched hist:"45 c78162f30b32e6dc9be5c59ea508e7a589b526" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/core/
H A Dregmap.c45c78162f30b32e6dc9be5c59ea508e7a589b526 Tue May 22 12:16:10 UTC 2018 Andy Yan <andy.yan@rock-chips.com> dm: regmap: use devfdt_get_addr_size_index get reg

fdtdec_get_addr_size() hard-codes the number of cells used to represent
an address or size in DT. This is incorrect in many cases depending on
the DT binding for a particular node or property (e.g. it is incorrect
for the "reg" property). In most cases, DT parsing code must use the
properties #address-cells and #size-cells to parse addres properties.

Change-Id: I736cf41f48eaac5d6b82510a037f447ff874a9e4
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>