arm: socfpga: DW_SPI: Remove clock info from config header
authorStefan Roese <sr@denx.de>
Sun, 16 Nov 2014 11:47:02 +0000 (12:47 +0100)
committerMarek Vasut <marex@denx.de>
Sat, 6 Dec 2014 12:52:47 +0000 (13:52 +0100)
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

index afe363c5368e40fd66d3129e0f34f6f84e90c09e..6bb9473c82bfc444fc07cf07e1839045f4790812 100644 (file)
@@ -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