summaryrefslogtreecommitdiff
path: root/recipes-bsp/u-boot/u-boot-2016.09.01/force_ebi_iosr_normal.patch
blob: 3fcfefddccf358e49ab457bf1010ce1f1a300c32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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);