summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'cpu')
-rw-r--r--cpu/arm_cortexa8/mx53/generic.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpu/arm_cortexa8/mx53/generic.c b/cpu/arm_cortexa8/mx53/generic.c
index 6ba61ee..6e57d9e 100644
--- a/cpu/arm_cortexa8/mx53/generic.c
+++ b/cpu/arm_cortexa8/mx53/generic.c
@@ -643,6 +643,9 @@ int clk_info(u32 clk_type)
printf("DDR Clock: %dHz\n",
mxc_get_clock(MXC_DDR_CLK));
break;
+ case NFC_CLK:
+ printf("NFC Clock: %dHz\n",
+ mxc_get_clock(MXC_NFC_CLK));
case ALL_CLK:
printf("cpu clock: %dMHz\n",
mxc_get_clock(MXC_ARM_CLK) / SZ_DEC_1M);
@@ -967,7 +970,7 @@ int clk_config(u32 ref, u32 freq, u32 clk_type)
if (config_ddr_clk(freq))
return -1;
break;
- case MXC_NFC_CLK:
+ case NFC_CLK:
if (config_nfc_clk(freq))
return -1;
break;