]> git.baikalelectronics.ru Git - uboot.git/commit
clk: ti: am3-dpll: use custom API for memory access
authorDario Binacchi <dariobin@libero.it>
Sat, 1 May 2021 15:05:25 +0000 (17:05 +0200)
committerLokesh Vutla <lokeshvutla@ti.com>
Wed, 12 May 2021 10:57:57 +0000 (16:27 +0530)
commit538c19e91d80e5f86be7d44359f08a1d73957faa
tree8b5d77bae84ba6fa06f7bdf0550f3fb492c1d43f
parentf3138a2c8d149fc568f3cace247005f561a03c55
clk: ti: am3-dpll: use custom API for memory access

Using the custom TI functions required not only replacing common memory
access functions but also rewriting the routines used to set bypass and
lock states. As for readl() and writel(), they also required the address
of the register to be accessed, a parameter that is hidden by the TI clk
module.

Signed-off-by: Dario Binacchi <dariobin@libero.it>
drivers/clk/ti/clk-am3-dpll.c