diff options
author | Terry Lv <r65388@freescale.com> | 2010-08-09 18:13:34 +0800 |
---|---|---|
committer | Terry Lv <r65388@freescale.com> | 2010-08-11 14:27:11 +0800 |
commit | 220079eab544ef16d2bbf2606e56de38d4e4c7c4 (patch) | |
tree | 9d5873ea8ca816fd8b87ea8d60a157f8743d3bfa /include | |
parent | 5d7638868e4fc91609e144405ef97b812dc57148 (diff) | |
download | u-boot-imx-220079eab544ef16d2bbf2606e56de38d4e4c7c4.zip u-boot-imx-220079eab544ef16d2bbf2606e56de38d4e4c7c4.tar.gz u-boot-imx-220079eab544ef16d2bbf2606e56de38d4e4c7c4.tar.bz2 |
ENGR00126079: Add clk command support for mx51
Add clk command support for mx51.
Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/arch-mx51/mx51.h | 21 | ||||
-rw-r--r-- | include/configs/mx51_bbg.h | 3 |
2 files changed, 16 insertions, 8 deletions
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 * */ |