This patch changes the PPC4xx ethernet POST loop test count from
currently 192 (256 - 64) to 16 which should be enough. The main reason
for this is to reduce the boot time on boards using this POST test,
like the lwmon5 board. This change reduces the boot time by about
600ms on the lwmon5 board.

Signed-off-by: Stefan Roese <[email protected]>
---
 post/cpu/ppc4xx/ether.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/post/cpu/ppc4xx/ether.c b/post/cpu/ppc4xx/ether.c
index 7f44f38..1593a8d 100644
--- a/post/cpu/ppc4xx/ether.c
+++ b/post/cpu/ppc4xx/ether.c
@@ -76,8 +76,8 @@ DECLARE_GLOBAL_DATA_PTR;
 #define SDR0_MFR_ETH_CLK_SEL_V(n)      ((0x01<<27) / (n+1))
 #endif
 
-#define MIN_PACKET_LENGTH      64
-#define MAX_PACKET_LENGTH      256
+#define MIN_PACKET_LENGTH      256
+#define MAX_PACKET_LENGTH      (256 + 16)
 #define TEST_NUM               1
 
 static volatile mal_desc_t tx __cacheline_aligned;
-- 
1.7.3.2

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to