[U-Boot-Users] [PATCH] mpc824x: set PCI latency timer to a sane value.

Gleb Natapov gleb at nbase.co.il
Tue Sep 7 11:03:00 CEST 2004


It is 0 after reset.

--
			Gleb.
-------------- next part --------------
Index: cpu/mpc824x/cpu_init.c
===================================================================
RCS file: /cvsroot/u-boot/u-boot/cpu/mpc824x/cpu_init.c,v
retrieving revision 1.4
diff -u -r1.4 cpu_init.c
--- cpu/mpc824x/cpu_init.c	1 Aug 2004 22:48:20 -0000	1.4
+++ cpu/mpc824x/cpu_init.c	7 Sep 2004 08:56:45 -0000
@@ -90,7 +90,7 @@
 #endif
 
 	CONFIG_WRITE_BYTE(PCLSR, 0x8);	/* set PCI cache line size */
-
+	CONFIG_WRITE_BYTE (PLTR, 0x40); /* set PCI latency timer */
 	/*
 	* Note that although this bit is cleared after a hard reset, it
 	* must be explicitly set and then cleared by software during


More information about the U-Boot mailing list