summaryrefslogtreecommitdiffstats
path: root/drivers/ddr/microchip/ddr2.c
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2021-04-08 22:13:05 -0400
committerLeo Yu-Chi Liang <ycliang@andestech.com>2021-05-14 16:20:47 +0800
commit598a06dcb47db8101a19d26c0d65572fbe8e71f6 (patch)
treee2349affcf48fe8f903f7703506551963ea7de9a /drivers/ddr/microchip/ddr2.c
parentd0686a02b98ee264532c25108edc3ba44acc1145 (diff)
downloadu-boot-598a06dcb47db8101a19d26c0d65572fbe8e71f6.tar.gz
u-boot-598a06dcb47db8101a19d26c0d65572fbe8e71f6.tar.xz
u-boot-598a06dcb47db8101a19d26c0d65572fbe8e71f6.zip
clk: k210: Fix PLL enable always getting taken
This conditional always evaluated as false, regardless of the value of reg. Fix it so that it properly tests the bits in the PLL register. Also test PLL_EN, now that we set it. Reported-by: Damien Le Moal <Damien.LeMoal@wdc.com> Signed-off-by: Sean Anderson <seanga2@gmail.com>
Diffstat (limited to 'drivers/ddr/microchip/ddr2.c')
0 files changed, 0 insertions, 0 deletions