summaryrefslogtreecommitdiff
path: root/board/compulab
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-07-01 17:01:49 +0800
committerStefano Babic <sbabic@denx.de>2015-07-10 09:35:53 +0200
commit2d59acc70f76e6d52cc9a226c55539c9353a23cb (patch)
treea72a267731d7e73b9644a602190aeb871e5504a4 /board/compulab
parent3c73b0a49a5c974bb313f8087dd0cfc54ea90ad2 (diff)
downloadu-boot-imx-2d59acc70f76e6d52cc9a226c55539c9353a23cb.zip
u-boot-imx-2d59acc70f76e6d52cc9a226c55539c9353a23cb.tar.gz
u-boot-imx-2d59acc70f76e6d52cc9a226c55539c9353a23cb.tar.bz2
imx: mx6 remove duplicated enable_cspi_clock
enable_spi_clock does the same thing with enable_cspi_clock, so remove enable_cspi_clock. Remove enable_cspi_clock prototype in header file convert cm_fx6/spl.c to use enable_spi_clk Signed-off-by: Peng Fan <Peng.Fan@freescale.com> Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'board/compulab')
-rw-r--r--board/compulab/cm_fx6/spl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/compulab/cm_fx6/spl.c b/board/compulab/cm_fx6/spl.c
index 5b4b76f..d94ced9 100644
--- a/board/compulab/cm_fx6/spl.c
+++ b/board/compulab/cm_fx6/spl.c
@@ -303,7 +303,7 @@ static void cm_fx6_setup_uart(void)
static void cm_fx6_setup_ecspi(void)
{
cm_fx6_set_ecspi_iomux();
- enable_cspi_clock(1, 0);
+ enable_spi_clk(1, 0);
}
#else
static void cm_fx6_setup_ecspi(void) { }