
Dear Stefan Roese,
In message 1290795460-7097-1-git-send-email-sr@denx.de you wrote:
This patch changes the PPC4xx ethernet POST loop test count from currently 192 (256 - 64) to a default of 10. While doing this the max frame size is increased. Each loop run uses a different frame size, starting with a max of 1514 bytes, down to 64. The default loop count of 10 can be overriden using CONFIG_SYS_POST_ETH_LOOPS in the board config header.
The TEST_NUM loop has been removed as it was never used.
The main reason for this change 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 sr@denx.de Cc: Wolfgang Denk wd@denx.de
Wolfgang, I changed the loop to start with the max frame size (so that this value is really used) and decrease the size to the min value. Testing on lwmon5 showed that 1514 is the biggest value for this test to pass.
Let me know if you ack this patch version and I'll queue it for next in my ppc4xx repository.
Thanks.
post/cpu/ppc4xx/ether.c | 35 ++++++++++++++++++++--------------- 1 files changed, 20 insertions(+), 15 deletions(-)
Acked-by: Wolfgang Denk wd@denx.de
Best regards,
Wolfgang Denk