summaryrefslogtreecommitdiff
path: root/multitech/recipes/at91bootstrap/at91bootstrap-2.13/sdram_fast_slew_print.patch
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2014-05-06 11:17:17 -0500
committerJesse Gilles <jgilles@multitech.com>2014-05-06 11:17:17 -0500
commitc0d9a58b64a289ff5dc2cb39f7efe8451ca85320 (patch)
tree4bb15bd4e7efe444f8d884353d5cdb8a66af6c6c /multitech/recipes/at91bootstrap/at91bootstrap-2.13/sdram_fast_slew_print.patch
parent066519ad212cf7f3a33cbbf01f6c110e10309153 (diff)
at91bootstrap-2.13: mtcdp: use fast SDRAM slew rate
Fixes issues with newer boards using a 6ns SDRAM part
Diffstat (limited to 'multitech/recipes/at91bootstrap/at91bootstrap-2.13/sdram_fast_slew_print.patch')
-rw-r--r--multitech/recipes/at91bootstrap/at91bootstrap-2.13/sdram_fast_slew_print.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/multitech/recipes/at91bootstrap/at91bootstrap-2.13/sdram_fast_slew_print.patch b/multitech/recipes/at91bootstrap/at91bootstrap-2.13/sdram_fast_slew_print.patch
new file mode 100644
index 0000000..06241cb
--- /dev/null
+++ b/multitech/recipes/at91bootstrap/at91bootstrap-2.13/sdram_fast_slew_print.patch
@@ -0,0 +1,12 @@
+Index: at91bootstrap-2.13/board/at91sam9g20ek/at91sam9g20ek.c
+===================================================================
+--- at91bootstrap-2.13.orig/board/at91sam9g20ek/at91sam9g20ek.c 2010-01-12 15:13:39.000000000 -0600
++++ at91bootstrap-2.13/board/at91sam9g20ek/at91sam9g20ek.c 2014-04-25 15:05:10.415646999 -0500
+@@ -116,6 +116,7 @@
+ #endif /* CONFIG_VERBOSE */
+
+ #ifdef CONFIG_SDRAM
++ dbg_print("SDRAM: fast slew rate\r\n");
+ /* Initialize the matrix (memory voltage = 3.3) */
+ writel((readl(AT91C_BASE_CCFG + CCFG_EBICSA)) | AT91C_EBI_CS1A_SDRAMC | (1<<16), AT91C_BASE_CCFG + CCFG_EBICSA);
+