Skip to content

Commit 9164ef1

Browse files
committed
device: sama7d65/trivial: fix typo in baudpll instance
Fix typo from buadpll to baudpll as it is described in the datasheet. No functional change is expected from this patch. Signed-off-by: Nicolas Ferre <[email protected]> Reviewed-by: Hari Prasath Gujulan Elango <[email protected]>
1 parent b3fe12f commit 9164ef1

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

device/sama7d65/sama7d65.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ void hw_init(void)
952952
struct pmc_pll_cfg ddrpll_config;
953953
struct pmc_pll_cfg syspll_config;
954954
struct pmc_pll_cfg imgpll_config;
955-
struct pmc_pll_cfg buadpll_config;
955+
struct pmc_pll_cfg baudpll_config;
956956
unsigned int mck0_prescaler;
957957

958958
#ifdef CONFIG_BACKUP_VDDIN33
@@ -1081,14 +1081,14 @@ void hw_init(void)
10811081
pmc_sam9x60_cfg_pll(PLL_ID_IMGPLL, &imgpll_config);
10821082

10831083
/* Configure & Enable BAUD PLL */
1084-
buadpll_config.mul = 32; /* (32+1) * 24 = 800 */
1085-
buadpll_config.div = 3; /* 800 / 4 = 200 MHz */
1086-
buadpll_config.count = 0x3f;
1087-
buadpll_config.fracr = 0;
1088-
buadpll_config.acr = 0x00070010;
1084+
baudpll_config.mul = 32; /* (32+1) * 24 = 800 */
1085+
baudpll_config.div = 3; /* 800 / 4 = 200 MHz */
1086+
baudpll_config.count = 0x3f;
1087+
baudpll_config.fracr = 0;
1088+
baudpll_config.acr = 0x00070010;
10891089

1090-
/* BUADPLL @ 266 MHz */
1091-
pmc_sam9x60_cfg_pll(PLL_ID_BAUDPLL, &buadpll_config);
1090+
/* BAUDPLL @ 266 MHz */
1091+
pmc_sam9x60_cfg_pll(PLL_ID_BAUDPLL, &baudpll_config);
10921092

10931093
if (!backup_resume())
10941094
dbg_printf("MCK: mck domains initialization complete.\n");

0 commit comments

Comments
 (0)