Some platform uses softlinks to the devices that hold environment
data. The mechanism used to figure out the type of flash is not robust
in this case. Calculating the canonicalized absolute pathname of the
device before trying to guess the type of flash decreases the risk of
guessing incorrectly.
Some platform uses softlinks to the devices that hold environment data. The mechanism used to figure out the type of flash is not robust in this case. Calculating the canonicalized absolute pathname of the device before trying to guess the type of flash decreases the risk of guessing incorrectly.
Signed-off-by: Mathias Thore mathias.thore@atlascopco.com