Browse Source

x230: bottom: add W25Q64.V to the list of known chips

see #125
pull/119/merge
Martin Kepplinger 4 years ago
parent
commit
65f3b568c7
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      x230/external_install_bottom.sh

+ 7
- 0
x230/external_install_bottom.sh View File

@ -169,6 +169,13 @@ if [ ! "$have_chipname" -gt 0 ] ; then
fi
fi
if [ ! "$chip_found" -gt 0 ] ; then
CHIPNAME=$(cat "${TEMP_DIR}"/chips | grep Found | grep "W25Q64.V" | grep -o '".*"' | grep -oP '"\K[^"\047]+(?=["\047])' || true)
if [ ! -z "${CHIPNAME}" ] ; then
chip_found=1
fi
fi
if [ ! "$chip_found" -gt 0 ] ; then
echo "chip not detected."
flashrom -p ${programmer} || true


Loading…
Cancel
Save