summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2023-02-17 14:21:23 -0600
committerJohn Klug <john.klug@multitech.com>2023-02-17 14:21:23 -0600
commitc90a269fde8bc0205081a9c4272e850aa8842c32 (patch)
tree538e473564562465ad7c46d3d63f3cced2fc2c14
parent01dffbfbb8cd6de3878445f8aeacbaad3fbd428e (diff)
downloadmeta-multitech-atmel-c90a269fde8bc0205081a9c4272e850aa8842c32.tar.gz
meta-multitech-atmel-c90a269fde8bc0205081a9c4272e850aa8842c32.tar.bz2
meta-multitech-atmel-c90a269fde8bc0205081a9c4272e850aa8842c32.zip
Alliance memory patch possibly for future use
-rw-r--r--recipes-bsp/u-boot/u-boot-2016.09.01/force_ebi_iosr_normal.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-2016.09.01/force_ebi_iosr_normal.patch b/recipes-bsp/u-boot/u-boot-2016.09.01/force_ebi_iosr_normal.patch
new file mode 100644
index 0000000..3fcfefd
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-2016.09.01/force_ebi_iosr_normal.patch
@@ -0,0 +1,19 @@
+#
+# This change fixes issues with Alliance memory.
+# It is not for mainstream use at this time.
+#
+# Note that at91sam9x5ek.c sets the EBI drive to
+# normal in RAM code and low in NAND code, and
+# there is only one setting for both.
+diff -adNru orig/board/atmel/at91sam9x5ek/at91sam9x5ek.c new/board/atmel/at91sam9x5ek/at91sam9x5ek.c
+--- orig/board/atmel/at91sam9x5ek/at91sam9x5ek.c 2023-02-08 16:01:43.514553156 -0600
++++ new/board/atmel/at91sam9x5ek/at91sam9x5ek.c 2023-02-08 16:02:19.274552534 -0600
+@@ -47,7 +47,7 @@
+ csa |= AT91_MATRIX_NFD0_ON_D16;
+
+ /* Configure IO drive */
+- csa &= ~AT91_MATRIX_EBI_EBI_IOSR_NORMAL;
++ csa |= AT91_MATRIX_EBI_EBI_IOSR_NORMAL;
+
+ writel(csa, &matrix->ebicsa);
+