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 /common | |
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 'common')
-rw-r--r-- | common/cmd_clk.c | 4 |
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; |