summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorLily Zhang <r58066@freescale.com>2010-10-19 09:43:30 +0800
committerLily Zhang <r58066@freescale.com>2010-10-19 09:47:22 +0800
commit73662d021d4af3e29e7c8c6e85c31a74c1a584ef (patch)
treefe8c63df11b349f3702ac857b3d9befdf1925227 /common
parent6a49f94ff660275c7a9ed312eb635d3085a5ecb4 (diff)
downloadu-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 'common')
-rw-r--r--common/cmd_clk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_clk.c b/common/cmd_clk.c
index b4130f3..d6f0552 100644
--- a/common/cmd_clk.c
+++ b/common/cmd_clk.c
@@ -43,7 +43,7 @@ int do_clkops(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
else if (strcmp(argv[1], "ddr") == 0)
clk_info(DDR_CLK);
else if (strcmp(argv[1], "nfc") == 0)
- clk_info(MXC_NFC_CLK);
+ clk_info(NFC_CLK);
else
printf("Unsupported clock type!\n");
break;
@@ -56,7 +56,7 @@ int do_clkops(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
else if (strcmp(argv[1], "ddr") == 0)
clk_config(CONFIG_REF_CLK_FREQ, freq, DDR_CLK);
else if (strcmp(argv[1], "nfc") == 0)
- clk_config(CONFIG_REF_CLK_FREQ, freq, MXC_NFC_CLK);
+ clk_config(CONFIG_REF_CLK_FREQ, freq, NFC_CLK);
else
printf("Unsupported clock type!\n");
break;