diff mbox

[U-Boot,02/15] ddr: altera: sequencer: Clean up mach/sdram.h

Message ID 1438557722-5254-3-git-send-email-marex@denx.de
State Accepted
Delegated to: Marek Vasut
Headers show

Commit Message

Marek Vasut Aug. 2, 2015, 11:21 p.m. UTC
Zap non-existent functions and place function prototypes at the
beginning of the header file.

Signed-off-by: Marek Vasut <marex@denx.de>
---
 arch/arm/mach-socfpga/include/mach/sdram.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Comments

Dinh Nguyen Aug. 3, 2015, 3:55 p.m. UTC | #1
On 08/02/2015 06:21 PM, Marek Vasut wrote:
> Zap non-existent functions and place function prototypes at the
> beginning of the header file.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
> ---
>  arch/arm/mach-socfpga/include/mach/sdram.h | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 

Acked-by: Dinh Nguyen <dinguyen@opensource.altera.com>

Thanks,
Dinh
diff mbox

Patch

diff --git a/arch/arm/mach-socfpga/include/mach/sdram.h b/arch/arm/mach-socfpga/include/mach/sdram.h
index 0cebd50..c139a28 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