summaryrefslogtreecommitdiff
path: root/recipes-bsp/at91bootstrap/at91bootstrap-3.8.12/mtrv1-DDRlowDriveStrength.patch
blob: e57ba89480afc6d4bd0f790b7f97815545851e99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -Naru at91bootstrap-3.8.12.orig/board/at91sam9x5ek/at91sam9x5ek.c at91bootstrap-3.8.12/board/at91sam9x5ek/at91sam9x5ek.c
--- at91bootstrap-3.8.12.orig/board/at91sam9x5ek/at91sam9x5ek.c	2019-03-19 16:57:01.976164610 -0500
+++ at91bootstrap-3.8.12/board/at91sam9x5ek/at91sam9x5ek.c	2019-03-19 16:58:01.688162842 -0500
@@ -75,6 +75,7 @@
 			| AT91C_DDRC2_CAS_3              /* CAS Latency 3 */
 			| AT91C_DDRC2_NB_BANKS_8         /* 8 banks */
 			| AT91C_DDRC2_DISABLE_RESET_DLL
+			| AT91C_DDRC2_DIC_DS		 /* Low DDR Drive Strength */
 			| AT91C_DDRC2_DECOD_INTERLEAVED);/*Interleaved decode*/
 
 	/*
diff -Naru at91bootstrap-3.8.12.orig/driver/common.c at91bootstrap-3.8.12/driver/common.c
--- at91bootstrap-3.8.12.orig/driver/common.c	2019-03-19 16:46:52.532182652 -0500
+++ at91bootstrap-3.8.12/driver/common.c	2019-03-19 16:48:42.144179407 -0500
@@ -143,6 +143,7 @@
 		usart_puts(media);
 
 	if (retval == 0) {
+                usart_puts("DDR Drive Strength: low\n");
 #if defined(CONFIG_LOAD_NONE)
 		usart_puts("AT91Bootstrap completed. Can load application via JTAG and jump.\n");
 #else