diff options
author | Lily Zhang <r58066@freescale.com> | 2010-10-19 09:43:30 +0800 |
---|---|---|
committer | Lily Zhang <r58066@freescale.com> | 2010-10-19 09:47:22 +0800 |
commit | 73662d021d4af3e29e7c8c6e85c31a74c1a584ef (patch) | |
tree | fe8c63df11b349f3702ac857b3d9befdf1925227 /cpu | |
parent | 6a49f94ff660275c7a9ed312eb635d3085a5ecb4 (diff) | |
download | u-boot-imx-73662d021d4af3e29e7c8c6e85c31a74c1a584ef.zip u-boot-imx-73662d021d4af3e29e7c8c6e85c31a74c1a584ef.tar.gz u-boot-imx-73662d021d4af3e29e7c8c6e85c31a74c1a584ef.tar.bz2 |
ENGR00132758 correct NFC_CLK definition
This patch is used to fix the issue caused by ENGR00132709.
NFC_CLK definition should be used in cmd_clk interface.
MXC_NFC_CLK should be used as internal clock name.
Signed-off-by: Lily Zhang <r58066@freescale.com>
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/arm_cortexa8/mx53/generic.c | 5 |
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; |