filesystem: using alternate method for IGEPv2 detection.

This commit is contained in:
Ricardo Martins 2014-08-11 21:02:08 +01:00
parent d1aede925a
commit e1137a4ee5

View File

@ -162,7 +162,7 @@ uboot_part_upgrade_check()
uboot_part_upgrade 'IGEPv2' '/dev/mmcblk0p1'
return 0
fi
grep "IGEP v2" /proc/cpuinfo > /dev/null 2>&1
dmesg | grep Machine | grep 'IGEP v2' > /dev/null 2>&1
if [ $? -eq 0 ]; then
uboot_part_upgrade 'IGEPv2' '/dev/mmcblk0p1'
return 0