diff options
author | Ruslan Bilovol <ruslan.bilovol@ti.com> | 2012-10-18 11:47:04 -0700 |
---|---|---|
committer | Ziyann <jaraidaniel@gmail.com> | 2014-10-01 13:01:08 +0200 |
commit | bc293b91e2ed52b1997b6b03b747e4be9761333b (patch) | |
tree | 745082ed2b71820b9bdf57ef1e59e8e4b6f36c8a /arch/arm/mach-omap2/include/mach | |
parent | c9471700032cb773a1c6203d947e7e0058c23670 (diff) | |
download | kernel_samsung_tuna-bc293b91e2ed52b1997b6b03b747e4be9761333b.zip kernel_samsung_tuna-bc293b91e2ed52b1997b6b03b747e4be9761333b.tar.gz kernel_samsung_tuna-bc293b91e2ed52b1997b6b03b747e4be9761333b.tar.bz2 |
OMAP4: EMIF: code cleanup and clarification
Removed unused fields of emif_regs structure and
functions that initialize or change them.
Also changed few names of emif_regs members
to match register names.
This made the code easier to understand and read
as well as made it a little bit faster
Change-Id: I0485a01b7f03e922b5a2e69bfb03c2ed941fcf3b
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/include/mach')
-rw-r--r-- | arch/arm/mach-omap2/include/mach/emif.h | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/arch/arm/mach-omap2/include/mach/emif.h b/arch/arm/mach-omap2/include/mach/emif.h index 18614c3..8eea5d9 100644 --- a/arch/arm/mach-omap2/include/mach/emif.h +++ b/arch/arm/mach-omap2/include/mach/emif.h @@ -239,22 +239,18 @@ struct freq_info { struct emif_regs { u32 freq; u8 RL_final; - u32 sdram_config_init; - u32 sdram_config_final; - u32 ref_ctrl; - u32 ref_ctrl_derated; - u32 sdram_tim1; - u32 sdram_tim1_derated; - u32 sdram_tim2; - u32 sdram_tim3; - u32 read_idle_ctrl_normal; - u32 read_idle_ctrl_volt_ramp; - u32 zq_config_normal; - u32 zq_config_volt_ramp; + u32 ref_ctrl_shdw; + u32 ref_ctrl_shdw_derated; + u32 sdram_tim1_shdw; + u32 sdram_tim1_shdw_derated; + u32 sdram_tim2_shdw; + u32 sdram_tim3_shdw; + u32 read_idle_ctrl_shdw_normal; + u32 read_idle_ctrl_shdw_volt_ramp; u32 temp_alert_config; u32 temp_alert_config_derated; - u32 emif_ddr_phy_ctlr_1_init; - u32 emif_ddr_phy_ctlr_1_final; + u32 emif_ddr_phy_ctlr_1_shdw_init; + u32 emif_ddr_phy_ctlr_1_shdw_final; }; int omap_emif_setup_registers(u32 freq, |