]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: altera: n5x: Fix MEMCLKMGR_EXTCNTRST_C0CNTRST to bit(0)
authorDinesh Maniyam <dinesh.maniyam@intel.com>
Fri, 15 Dec 2023 07:15:19 +0000 (15:15 +0800)
committerTien Fong Chee <tien.fong.chee@intel.com>
Mon, 22 Jan 2024 08:51:17 +0000 (16:51 +0800)
commit9d8f814beb7f1857e814a42ec8362323ed88bdcc
tree470ce4a501d7b16c7811df9736d72aecef27044a
parent158d648d9f02c9ee0f432bbafeea38aaa55dd943
clk: altera: n5x: Fix MEMCLKMGR_EXTCNTRST_C0CNTRST to bit(0)

MEMCLKMGR_EXTCNTRST_C0CNTRST register defined as BIT[0] in documentation
but it is wrongly defined as BIT[7] in u-boot code. This register is used
to hold associated pingpong counter in reset
while PLL and 5:1 mux configuration is changed.

Signed-off-by: Dinesh Maniyam <dinesh.maniyam@intel.com>
Reviewed-by: Tien Fong Chee <tien.fong.chee@intel.com>
drivers/clk/altera/clk-mem-n5x.h