[U-Boot] [PATCH 2/2] i.MX6: nitrogen6x: Use new ANATOP_PFD_X macros
Eric Nelson
eric.nelson at boundarydevices.com
Thu Aug 29 19:45:52 CEST 2013
Signed-off-by: Eric Nelson <eric.nelson at boundarydevices.com>
---
board/boundary/nitrogen6x/nitrogen6x.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c
index 79ab449..58fe8ae 100644
--- a/board/boundary/nitrogen6x/nitrogen6x.c
+++ b/board/boundary/nitrogen6x/nitrogen6x.c
@@ -634,8 +634,8 @@ static void setup_display(void)
writel(reg, &mxc_ccm->CCGR3);
/* set PFD1_FRAC to 0x13 == 455 MHz (480*18)/0x13 */
- writel(ANATOP_PFD_480_PFD1_FRAC_MASK, &anatop->pfd_480_clr);
- writel(0x13<<ANATOP_PFD_480_PFD1_FRAC_SHIFT, &anatop->pfd_480_set);
+ writel(ANATOP_PFD_FRAC_MASK(1), &anatop->pfd_480_clr);
+ writel(0x13<<ANATOP_PFD_FRAC_SHIFT(1), &anatop->pfd_480_set);
/* set LDB0, LDB1 clk select to 011/011 */
reg = readl(&mxc_ccm->cs2cdr);
--
1.8.1.2
More information about the U-Boot
mailing list