Skip to content

Revert "fdt: translate address if #size-cells = <0>"

Tero Kristo u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest0 of 5 patches 0 repliesNew

Patches in v2 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchTero Kristo
SeriesR-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] Revert "fdt: translate address if #size-cells = <0>"
Quoted 11 lines · Dario Binacchi

As pointed by [1] and [2] the d64b9cdcd4 ("fdt: translate address if #size-cells = <0>") commit was wrong. The series reverts the patch and fixes the issue with platform code, adding custom routines to access the clocks registers.
The solution has been inspired by the Linux Kernel code.

[1] https://patchwork.ozlabs.org/project/uboot/patch/1614324949-61314-1-git-send-email-bmeng.cn at gmail.com/
[2] https://lore.kernel.org/linux-clk/20210402192054.7934-1-dariobin at libero.it/T/

Changes in v2:
- Remove #if CONFIG_IS_ENABLED(AM33XX). It was counter intuitive.
- Added Bin Meng Reviewed-by tag.

For the whole series:

Quoted 25 lines

Dario Binacchi (5):
clk: ti: add custom API for memory access
clk: ti: change clk_ti_latch() signature
clk: ti: gate: use custom API for memory access
clk: ti: am3-dpll: use custom API for memory access Revert "fdt: translate address if #size-cells = <0>"

  arch/sandbox/dts/test.dts         | 21 -------
  common/fdt_support.c              |  6 +-
  drivers/clk/ti/clk-am3-dpll.c     | 86 +++++++++++++++++-----------
  drivers/clk/ti/clk-divider.c      | 20 ++++---
  drivers/clk/ti/clk-gate.c         | 23 ++++----
  drivers/clk/ti/clk-mux.c          | 20 +++----
  drivers/clk/ti/clk.c              | 95 +++++++++++++++++++++++++++++--
  drivers/clk/ti/clk.h              | 15 ++++-
  drivers/core/Kconfig              | 12 ----
  drivers/core/fdtaddr.c            |  2 +-
  drivers/core/of_addr.c            | 13 ++++-
  drivers/core/ofnode.c             |  7 +--
  drivers/core/root.c               |  3 -
  include/asm-generic/global_data.h | 24 --------
  test/dm/test-fdt.c                | 68 ----------------------
  15 files changed, 206 insertions(+), 209 deletions(-)