diff options
author | Marek Vasut <marex@denx.de> | 2015-08-02 17:02:11 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-08-08 14:14:28 +0200 |
commit | c4ecc98974158371645ae4ca42d38e33bd33b788 (patch) | |
tree | a04ab27a801c89d7da6362b21c062d152c6f1298 /arch/arm | |
parent | 9c76df518cf419a9d7db89c85627049c5d11520f (diff) |
ddr: altera: sequencer: Clean up mach/sdram.h
Zap non-existent functions and place function prototypes at the
beginning of the header file.
Signed-off-by: Marek Vasut <marex@denx.de>
Acked-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-socfpga/include/mach/sdram.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-socfpga/include/mach/sdram.h b/arch/arm/mach-socfpga/include/mach/sdram.h index 0cebd50a9d..c139a28e9a 100644 --- a/arch/arm/mach-socfpga/include/mach/sdram.h +++ b/arch/arm/mach-socfpga/include/mach/sdram.h @@ -12,7 +12,7 @@ unsigned long sdram_calculate_size(void); int sdram_mmr_init_full(unsigned int sdr_phy_reg); int sdram_calibration_full(void); -extern int sdram_calibration(void); +const struct socfpga_sdram_config *socfpga_get_sdram_config(void); #define SDR_CTRLGRP_ADDRESS (SOCFPGA_SDR_ADDRESS | 0x5000) @@ -113,8 +113,6 @@ struct socfpga_sdram_config { u32 phy_ctrl0; }; -const struct socfpga_sdram_config *socfpga_get_sdram_config(void); - #define SDR_CTRLGRP_CTRLCFG_NODMPINS_LSB 23 #define SDR_CTRLGRP_CTRLCFG_NODMPINS_MASK 0x00800000 #define SDR_CTRLGRP_CTRLCFG_DQSTRKEN_LSB 22 |