Skip to content
Snippets Groups Projects
Commit 14552176 authored by Troy Kisky's avatar Troy Kisky
Browse files

nitrogen8m: ddr_init: use MHZ(800)

parent 98110337
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,8 @@
#ifndef _ASM_ARCH_IMX8M_CLOCK_H
#define _ASM_ARCH_IMX8M_CLOCK_H
#define MHZ(X) ((X) * 1000000UL)
#ifdef CONFIG_IMX8MQ
#include <asm/arch/clock_imx8mq.h>
#else
......
......@@ -229,7 +229,7 @@ void ddr_init(void)
reg32_write(0x303A00EC, 0x0000ffff); /* PGC_CPU_MAPPING */
reg32setbit(0x303A00F8, 5); /* PU_PGC_SW_PUP_REQ */
dram_pll_init(SSCG_PLL_OUT_800M);
dram_pll_init(MHZ(800));
reg32_write(SRC_DDRC_RCR_ADDR, 0x8F000006);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment