zheng-chow ed75173cac Fix the SD Card and EMAC issue:
1. The issue concerns sdmmc library bug (I finally solved) in SD_Init() in the file sdmmc/src/fsl_sd.c:SD_SelectBusTiming()
calls SD_SwitchFunction() which sets block size to 64bytes (512bits).Therefore SD_SetBlockSize(card, FSL_SDMMC_DEFAULT_BLOCK_SIZE)
should be called again before SD_Init() exits.
2. The issue is wrong variable in drv_emac.c:lpc_emac_tx(), and the wrong data length of send packet
to cause the send failure.

Signed-off-by: zheng-chow <sernia.zhou@foxmail.com>
2018-06-04 18:14:59 +08:00
..
2018-03-03 16:34:01 +08:00
2017-11-16 11:05:32 +08:00
2017-08-08 11:56:50 +08:00
2017-08-08 11:56:50 +08:00
2018-06-04 18:14:59 +08:00
2017-08-08 11:56:50 +08:00
2017-08-08 11:56:50 +08:00
2017-11-10 19:47:53 +08:00
2017-10-16 13:23:03 +08:00
2017-08-08 11:56:50 +08:00
2018-06-04 18:14:59 +08:00
2017-08-08 11:56:50 +08:00
2017-08-08 11:56:50 +08:00
2017-08-08 11:56:50 +08:00
2017-08-08 11:56:50 +08:00
2017-11-13 14:18:05 +08:00
2017-08-08 11:56:50 +08:00
2017-08-08 11:56:50 +08:00
2017-08-08 11:56:50 +08:00
2017-11-14 16:48:36 +08:00
2017-11-10 19:46:00 +08:00