diff options
author | Tom Rini <trini@ti.com> | 2012-07-24 21:54:41 (GMT) |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-09-01 12:58:12 (GMT) |
commit | 87a1acbb6991521af2a8d1f75c2adacbece9ab5e (patch) | |
tree | e505c3b25fc07e51ba68f65e1801857663ea7256 /arch/arm/include/asm/arch-am33xx | |
parent | c48c89543310bae633c7aa44a0fc94b9c97c8453 (diff) | |
download | u-boot-fsl-qoriq-87a1acbb6991521af2a8d1f75c2adacbece9ab5e.tar.xz |
am33xx: Turn a number of 'int' functions to 'void'
A number of memory initalization functions were int and always returned
0. Further it's not feasible to be doing error checking here, so simply
turn them into void functions.
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/include/asm/arch-am33xx')
-rw-r--r-- | arch/arm/include/asm/arch-am33xx/ddr_defs.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/include/asm/arch-am33xx/ddr_defs.h b/arch/arm/include/asm/arch-am33xx/ddr_defs.h index f755736..997480b 100644 --- a/arch/arm/include/asm/arch-am33xx/ddr_defs.h +++ b/arch/arm/include/asm/arch-am33xx/ddr_defs.h @@ -82,17 +82,17 @@ struct sdram_config { /** * Configure SDRAM */ -int config_sdram(struct sdram_config *cfg); +void config_sdram(struct sdram_config *cfg); /** * Set SDRAM timings */ -int set_sdram_timings(struct sdram_timing *val); +void set_sdram_timings(struct sdram_timing *val); /** * Configure DDR PHY */ -int config_ddr_phy(struct ddr_phy_control *cfg); +void config_ddr_phy(struct ddr_phy_control *cfg); /** * This structure represents the DDR registers on AM33XX devices. @@ -183,12 +183,12 @@ struct ddr_data { /** * Configure DDR CMD control registers */ -int config_cmd_ctrl(const struct cmd_control *cmd); +void config_cmd_ctrl(const struct cmd_control *cmd); /** * Configure DDR DATA registers */ -int config_ddr_data(int data_macrono, const struct ddr_data *data); +void config_ddr_data(int data_macrono, const struct ddr_data *data); /** * This structure represents the DDR io control on AM33XX devices. @@ -217,7 +217,7 @@ struct ddr_ioctrl { /** * Configure DDR io control registers */ -int config_io_ctrl(struct ddr_ioctrl *ioctrl); +void config_io_ctrl(struct ddr_ioctrl *ioctrl); struct ddr_ctrl { unsigned int ddrioctrl; |