From 220079eab544ef16d2bbf2606e56de38d4e4c7c4 Mon Sep 17 00:00:00 2001 From: Terry Lv Date: Mon, 9 Aug 2010 18:13:34 +0800 Subject: ENGR00126079: Add clk command support for mx51 Add clk command support for mx51. Signed-off-by: Terry Lv --- include/asm-arm/arch-mx51/mx51.h | 21 +++++++++++++-------- include/configs/mx51_bbg.h | 3 +++ 2 files changed, 16 insertions(+), 8 deletions(-) (limited to 'include') diff --git a/include/asm-arm/arch-mx51/mx51.h b/include/asm-arm/arch-mx51/mx51.h index 5fc57bb..11aba01 100644 --- a/include/asm-arm/arch-mx51/mx51.h +++ b/include/asm-arm/arch-mx51/mx51.h @@ -448,14 +448,19 @@ enum boot_device { }; enum mxc_clock { -MXC_ARM_CLK = 0, -MXC_AHB_CLK, -MXC_IPG_CLK, -MXC_IPG_PERCLK, -MXC_UART_CLK, -MXC_CSPI_CLK, -MXC_FEC_CLK, -MXC_ESDHC_CLK, + MXC_ARM_CLK = 0, + MXC_PER_CLK, + MXC_AHB_CLK, + MXC_IPG_CLK, + MXC_IPG_PERCLK, + MXC_UART_CLK, + MXC_CSPI_CLK, + MXC_FEC_CLK, + MXC_ESDHC_CLK, + MXC_AXI_A_CLK, + MXC_AXI_B_CLK, + MXC_EMI_SLOW_CLK, + MXC_DDR_CLK }; /* diff --git a/include/configs/mx51_bbg.h b/include/configs/mx51_bbg.h index c240ada..99fd4ac 100644 --- a/include/configs/mx51_bbg.h +++ b/include/configs/mx51_bbg.h @@ -97,6 +97,9 @@ #define CONFIG_CMD_IIM #define CONFIG_CMD_I2C +#define CONFIG_CMD_CLOCK +#define CONFIG_REF_CLK_FREQ CONFIG_MX51_HCLK_FREQ + /* * FUSE Configs * */ -- cgit v1.1