Skip to content

uboot_env: Use canonicalized pathname when guessing device type

Created by: liuming50

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

Merge request reports