imx6 ddr freq

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6 ddr freq

Jump to solution
789 Views
jeffery
Contributor III

hi,friend

how to get/printf ddr freq value in uboot or kernel when booting up on android 8.0?

thanks!

Labels (1)
0 Kudos
1 Solution
662 Views
jeffery
Contributor III

on Linux version 4.9.17 DDR_MED_CLK is not be defined! 

I cant find the relative clk macro.

thanks!

View solution in original post

0 Kudos
2 Replies
662 Views
jamesbone
NXP TechSupport
NXP TechSupport

Hello,

In Uboot you need to add a line in the  board-mx6q_sabresd.c   

printf("DDR Clock : %d Hz\n", clk_get(DDR_MED_CLK);

or in the root/arch/arm/mach-mx6/bus_freq.c

0 Kudos
663 Views
jeffery
Contributor III

on Linux version 4.9.17 DDR_MED_CLK is not be defined! 

I cant find the relative clk macro.

thanks!

0 Kudos