sysinfo: improve the search of the otp folder
With the change of bsp now we have several entries under /sys/bus/nvmem/devices/ in the CC6UL platform and we should reduce the num of folders where the otp folder can be found. ls /sys/bus/nvmem/devices/ bootloader environment imx-ocotp0 linux recovery rootfs safe update https://jira.digi.com/browse/DEL-7082 Signed-off-by: Francisco Gil Martinez <francisco.gilmartinez@digi.com>
This commit is contained in:
parent
2efc2c3e42
commit
45058e35f9
|
|
@ -241,7 +241,7 @@ make_report(){
|
|||
done
|
||||
echo ""
|
||||
fi
|
||||
for d in /sys/bus/nvmem/devices/*; do
|
||||
for d in /sys/bus/nvmem/devices/imx-ocotp*; do
|
||||
[ -e $d ] || continue
|
||||
echo "$d:"
|
||||
hexdump -C $d/nvmem
|
||||
|
|
|
|||
Loading…
Reference in New Issue