From 0edeba054b7fe4999f82ac9e422a71b0ed2e99a7 Mon Sep 17 00:00:00 2001 From: Stefan Roese <sr@denx.de> Date: Sun, 16 Nov 2014 12:47:02 +0100 Subject: [PATCH] arm: socfpga: DW_SPI: Remove clock info from config header Remove the now unnecessary clocking info from the SoCFPGA config header. As this info in now used directly in the SPI driver itself. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@altera.com> Cc: Vince Bridgers <vbridger@altera.com> Cc: Marek Vasut <marex@denx.de> Acked-by: Pavel Machek <pavel@denx.de> --- include/configs/socfpga_common.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h index afe363c536..6bb9473c82 100644 --- a/include/configs/socfpga_common.h +++ b/include/configs/socfpga_common.h @@ -214,10 +214,6 @@ unsigned int cm_get_qspi_controller_clk_hz(void); #define CONFIG_DM #define CONFIG_DM_SPI #define CONFIG_DESIGNWARE_SPI -#ifndef __ASSEMBLY__ -unsigned int cm_get_spi_controller_clk_hz(void); -#define CONFIG_DW_SPI_REF_CLK cm_get_spi_controller_clk_hz() -#endif #define CONFIG_CMD_SPI #endif