]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/compulab/cm_fx6/spl.c
imx: mx6 remove duplicated enable_cspi_clock
[karo-tx-uboot.git] / board / compulab / cm_fx6 / spl.c
index 6fe937b4180fba98add32988d9820cc73d96680f..d94ced9c6558ac87e92e4ddffa0c8552462061cc 100644 (file)
@@ -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) { }
@@ -313,7 +313,6 @@ void board_init_f(ulong dummy)
 {
        struct mxc_ccm_reg *mxc_ccm = (struct mxc_ccm_reg *)CCM_BASE_ADDR;
 
-       gd = &gdata;
        /*
         * We don't use DMA in SPL, but we do need it in U-Boot. U-Boot
         * initializes DMA very early (before all board code), so the only