ipq806x: gmac: Fixed buffer overflow while reading ART

Buffer overflow was happening during read from ART
partition. MMC reading API uses block count so this
patch allocates required size temp buffer and copies
the ethernet MAC address data from this temp buffer.

Change-Id: If9ad01f20651b1b6f48128abc8828f303cde003b
1 file changed