]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
arm: omap: add sdram-nokia.h
authorAaro Koskinen <aaro.koskinen@nokia.com>
Fri, 17 Dec 2010 23:13:44 +0000 (15:13 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 17 Dec 2010 23:13:44 +0000 (15:13 -0800)
Add a header file for Nokia SDRAM functions. Based on patches by Juha
Keski-Saari.

Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-rx51.c
arch/arm/mach-omap2/sdram-nokia.c
arch/arm/mach-omap2/sdram-nokia.h [new file with mode: 0644]

index 904b83a62be7cc132d4ad2e01f1338d6abcee2ab..215ea0efed89a14d962b3d569c43c73071360a2b 100644 (file)
 
 #include "mux.h"
 #include "pm.h"
+#include "sdram-nokia.h"
 
 #define RX51_GPIO_SLEEP_IND 162
 
-struct omap_sdrc_params *nokia_get_sdram_timings(void);
 extern void rx51_video_mem_init(void);
 
 static struct gpio_led gpio_leds[] = {
index 690202b996c16282ed7e18a19ddfdc484c792eb1..261efc8a533eb13be7aacd4a727a55c6f6808535 100644 (file)
@@ -22,6 +22,7 @@
 #include <plat/clock.h>
 #include <plat/sdrc.h>
 
+#include "sdram-nokia.h"
 
 /* In picoseconds, except for tREF (ns), tXP, tCKE, tWTR (clks) */
 struct sdram_timings {
diff --git a/arch/arm/mach-omap2/sdram-nokia.h b/arch/arm/mach-omap2/sdram-nokia.h
new file mode 100644 (file)
index 0000000..ee63da5
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+ * SDRC register values for Nokia boards
+ *
+ * Copyright (C) 2010 Nokia
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+struct omap_sdrc_params *nokia_get_sdram_timings(void);
+