summaryrefslogtreecommitdiff
path: root/drivers/core/fdtaddr.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-05-12 10:07:21 -0400
committerTom Rini <trini@konsulko.com>2021-05-12 10:07:21 -0400
commitea184cbff99ea1d82dcf94c95afe054e95da5069 (patch)
tree48553e6cf25f0b5f34483c3fddafdebbbc240b55 /drivers/core/fdtaddr.c
parent59a2b9e605c5a5e2dff35506a13b51f33d3051b4 (diff)
parentbbc9da58b332bd44e51ac5579040ea984b2f963b (diff)
Merge tag 'ti-v2021.07-rc3' of https://source.denx.de/u-boot/custodians/u-boot-ti
- Initial support for AM64 EVM and SK - K3 DDR driver unification for J7 and AM64 platforms. - Minor fixes for TI clock driver
Diffstat (limited to 'drivers/core/fdtaddr.c')
-rw-r--r--drivers/core/fdtaddr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/core/fdtaddr.c b/drivers/core/fdtaddr.c
index 83a50b6a3a7..b9874c743d1 100644
--- a/drivers/core/fdtaddr.c
+++ b/drivers/core/fdtaddr.c
@@ -50,7 +50,7 @@ fdt_addr_t devfdt_get_addr_index(const struct udevice *dev, int index)
reg += index * (na + ns);
- if (ns || gd_size_cells_0()) {
+ if (ns) {
/*
* Use the full-fledged translate function for complex
* bus setups.