Add checking for empty partition in 'fw-read'
Add checking for empty partition in 'fw-read'

If the flash partition is empty, the 'inf' pointer would be
NULL, and a reference would cause segmentation fault

Microsemi/switchtec-user,Microsemi/switchtec-user