[PATCH 0/5] Revert "fdt: translate address if #size-cells = <0>"

Dario Binacchi dariobin at libero.it
Sun Apr 25 16:17:41 CEST 2021


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@gmail.com/
[2] https://lore.kernel.org/linux-clk/20210402192054.7934-1-dariobin@libero.it/T/


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              | 102 ++++++++++++++++++++++++++++--
 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, 213 insertions(+), 209 deletions(-)

-- 
2.17.1



More information about the U-Boot mailing list