RX51: Add SDRAM init
Subsystems (3)
PATCH 1/1 RX51: Add SDRAM init
From: Tero Kristo <[email protected]>
This patch adds board specific SDRAM init for RX51. This patch is a collaboration of work from following people:
Juha Yrjola: Original code
Lauri Leukkunen: Port to RX51
Tero Kristo: Support for multiple OPP:s, merge of patches Samu Onkalo: Fixed SDRAM parameters according to specs Kalle Jokiniemi: A fix for rounding error
--- arch/arm/mach-omap2/Makefile | 1 + arch/arm/mach-omap2/board-rx51-sdram.c | 221 ++++++++++++++++++++++++++++++++ arch/arm/mach-omap2/board-rx51.c | 7 +- 3 files changed, 228 insertions(+), 1 deletions(-) create mode 100644 arch/arm/mach-omap2/board-rx51-sdram.c
arch/arm/mach-omap2/Makefile +1 -0
@@ -69,6 +69,7 @@ obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o \ mmc-twl4030.o obj-$(CONFIG_MACH_NOKIA_N8X0) += board-n8x0.o obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o \ + board-rx51-sdram.o \ board-rx51-peripherals.o \ mmc-twl4030.o obj-$(CONFIG_MACH_OMAP_ZOOM2) += board-zoom2.o \
arch/arm/mach-omap2/board-rx51-sdram.c new file +221 -0
221 lines not on this page · raw message
arch/arm/mach-omap2/board-rx51.c +6 -1
@@ -30,6 +30,8 @@#include <plat/gpmc.h> #include <plat/usb.h> +struct omap_sdrc_params *rx51_get_sdram_timings (void ); +static struct omap_lcd_config rx51_lcd_config = { .ctrl_name ="internal" , };
@@ -55,9 +57,12 @@ static struct omap_board_config_kernel rx51_config[] = {static void __init rx51_init_irq (void ) { +struct omap_sdrc_params *sdrc_params; + omap_board_config = rx51_config; omap_board_config_size =ARRAY_SIZE (rx51_config); -omap2_init_common_hw (NULL ,NULL ); + sdrc_params =rx51_get_sdram_timings (); +omap2_init_common_hw (sdrc_params, sdrc_params);omap_init_irq ();omap_gpio_init (); }
Signature · 1 line
1.5.4.3
Quoted 11 lines · Tero Kristo
From: Tero Kristo <[email protected]>
This patch adds board specific SDRAM init for RX51. This patch is a collaboration of work from following people:
Juha Yrjola: Original code
Lauri Leukkunen: Port to RX51
Tero Kristo: Support for multiple OPP:s, merge of patches Samu Onkalo: Fixed SDRAM parameters according to specs Kalle Jokiniemi: A fix for rounding error
Quoted 5 lines
Signed-off-by Tero Kristo <[email protected]>Cc Samu Onkalo <[email protected]>Cc Kalle Jokiniemi <[email protected]>Cc Lauri Leukkunen <[email protected]>Cc Juha Yrjola <[email protected]>
I've had a hacked version of this in the PM branch for while now. This one can go into l-o master and I'll drop mine from the PM branch.
Kevin
Tony Lindgren
maintainerPATCH 1/1 RX51: Add SDRAM init
In reply to Tero KristoThis patch has been applied to the linux-omap
by youw fwiendly patch wobot.
Branch in linux-omap: for-next
Initial commit ID (Likely to change): a5ffea111ead0122b8dd7ae61b77a44fea022219
PatchWorks
http://patchwork.kernel.org/patch/56083/
Git (Likely to change, and takes a while to get mirrored)
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=a5ffea111ead0122b8dd7ae61b77a44fea022219