From c90a269fde8bc0205081a9c4272e850aa8842c32 Mon Sep 17 00:00:00 2001 From: John Klug Date: Fri, 17 Feb 2023 14:21:23 -0600 Subject: Alliance memory patch possibly for future use --- .../u-boot-2016.09.01/force_ebi_iosr_normal.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 recipes-bsp/u-boot/u-boot-2016.09.01/force_ebi_iosr_normal.patch (limited to 'recipes-bsp') 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); + -- cgit v1.2.3