esp8266/scripts/flashbdev: Correct bootloader flash size to match real size.
esp8266/scripts/flashbdev: Correct bootloader flash size to match real size.

Flash size as seen by vendor SDK doesn't depend on real size, but rather on
a particular value in firmware header, as put there by flash tool. That means
it's user responsibility to know what flash size a particular device has, and
specify correct parameters during flashing. That's not end user friendly
however, so we try to make it "flash and play" by detecting real size vs
from-header size mismatch, and correct the header accordingly.

praemdonck/micropython,deshipu/micropython,matthewelse/micropython,blazewicz/micropython,TDAbboud/micropython,PappaPeppar/micropython,infinnovation/micropython,micropython/micropython-esp32,chrisdearman/micropython,Timmenem/micropython,mpalomer/micropython,dinau/micropython,tuc-osg/micropython,lowRISC/micropython,dinau/micropython,chrisdearman/micropython,selste/micropython,trezor/micropython,alex-march/micropython,lowRISC/micropython,MrSurly/micropython,selste/micropython,infinnovation/micropython,chrisdearman/micropython,emfcamp/micropython,bvernoux/micropython,drrk/micropython,torwag/micropython,pramasoul/micropython,chrisdearman/micropython,micropython/micropython-esp32,misterdanb/micropython,pozetroninc/micropython,dxxb/micropython,jmarcelino/pycom-micropython,adafruit/circuitpython,micropython/micropython-esp32,mhoffma/micropython,pfalcon/micropython,puuu/micropython,puuu/micropython,puuu/micropython,ryannathans/micropython,adafruit/circuitpython,kerneltask/micropython,tuc-osg/micropython,hosaka/micropython,alex-march/micropython,ganshun666/micropython,drrk/micropython,micropython/micropython-esp32,AriZuu/micropython,MrSurly/micropython,alex-march/micropython,mpalomer/micropython,tobbad/micropython,cwyark/micropython,alex-robbins/micropython,PappaPeppar/micropython,toolmacher/micropython,hosaka/micropython,blazewicz/micropython,tralamazza/micropython,pozetroninc/micropython,tuc-osg/micropython,tralamazza/micropython,alex-march/micropython,henriknelson/micropython,bvernoux/micropython,SHA2017-badge/micropython-esp32,mhoffma/micropython,adafruit/micropython,MrSurly/micropython-esp32,trezor/micropython,trezor/micropython,matthewelse/micropython,tuc-osg/micropython,oopy/micropython,dmazzella/micropython,TDAbboud/micropython,praemdonck/micropython,oopy/micropython,misterdanb/micropython,praemdonck/micropython,jmarcelino/pycom-micropython,mpalomer/micropython,bvernoux/micropython,dmazzella/micropython,misterdanb/micropython,henriknelson/micropython,redbear/micropython,swegener/micropython,pozetroninc/micropython,Peetz0r/micropython-esp32,AriZuu/micropython,adafruit/circuitpython,jmarcelino/pycom-micropython,dxxb/micropython,MrSurly/micropython,infinnovation/micropython,emfcamp/micropython,jmarcelino/pycom-micropython,Peetz0r/micropython-esp32,adafruit/circuitpython,pfalcon/micropython,lowRISC/micropython,pfalcon/micropython,ryannathans/micropython,kerneltask/micropython,deshipu/micropython,emfcamp/micropython,TDAbboud/micropython,oopy/micropython,TDAbboud/micropython,hiway/micropython,dxxb/micropython,tobbad/micropython,turbinenreiter/micropython,blazewicz/micropython,torwag/micropython,mpalomer/micropython,trezor/micropython,Timmenem/micropython,deshipu/micropython,cwyark/micropython,tralamazza/micropython,oopy/micropython,pozetroninc/micropython,Peetz0r/micropython-esp32,matthewelse/micropython,HenrikSolver/micropython,lowRISC/micropython,deshipu/micropython,ganshun666/micropython,selste/micropython,jmarcelino/pycom-micropython,ganshun666/micropython,Timmenem/micropython,pozetroninc/micropython,pramasoul/micropython,bvernoux/micropython,AriZuu/micropython,ryannathans/micropython,dinau/micropython,hiway/micropython,bvernoux/micropython,kerneltask/micropython,pramasoul/micropython,pramasoul/micropython,dxxb/micropython,adafruit/micropython,redbear/micropython,MrSurly/micropython-esp32,ganshun666/micropython,hosaka/micropython,henriknelson/micropython,cwyark/micropython,hiway/micropython,HenrikSolver/micropython,alex-march/micropython,tuc-osg/micropython,hiway/micropython,MrSurly/micropython,turbinenreiter/micropython,toolmacher/micropython,toolmacher/micropython,turbinenreiter/micropython,MrSurly/micropython-esp32,swegener/micropython,drrk/micropython,MrSurly/micropython-esp32,mhoffma/micropython,hosaka/micropython,alex-robbins/micropython,ganshun666/micropython,matthewelse/micropython,TDAbboud/micropython,toolmacher/micropython,HenrikSolver/micropython,torwag/micropython,matthewelse/micropython,kerneltask/micropython,dxxb/micropython,emfcamp/micropython,turbinenreiter/micropython,dinau/micropython,blazewicz/micropython,dmazzella/micropython,swegener/micropython,redbear/micropython,alex-robbins/micropython,oopy/micropython,mpalomer/micropython,misterdanb/micropython,drrk/micropython,redbear/micropython,alex-robbins/micropython,drrk/micropython,tobbad/micropython,emfcamp/micropython,tralamazza/micropython,deshipu/micropython,chrisdearman/micropython,SHA2017-badge/micropython-esp32,SHA2017-badge/micropython-esp32,torwag/micropython,toolmacher/micropython,misterdanb/micropython,selste/micropython,torwag/micropython,turbinenreiter/micropython,henriknelson/micropython,adafruit/micropython,Peetz0r/micropython-esp32,HenrikSolver/micropython,trezor/micropython,PappaPeppar/micropython,pfalcon/micropython,redbear/micropython,pramasoul/micropython,adafruit/circuitpython,hiway/micropython,lowRISC/micropython,adafruit/micropython,puuu/micropython,alex-robbins/micropython,Timmenem/micropython,praemdonck/micropython,infinnovation/micropython,SHA2017-badge/micropython-esp32,puuu/micropython,infinnovation/micropython,HenrikSolver/micropython,mhoffma/micropython,blazewicz/micropython,mhoffma/micropython,AriZuu/micropython,dinau/micropython,hosaka/micropython,PappaPeppar/micropython,PappaPeppar/micropython,swegener/micropython,Peetz0r/micropython-esp32,praemdonck/micropython,swegener/micropython,kerneltask/micropython,selste/micropython,adafruit/circuitpython,cwyark/micropython,tobbad/micropython,cwyark/micropython,adafruit/micropython,micropython/micropython-esp32,MrSurly/micropython-esp32,dmazzella/micropython,MrSurly/micropython,SHA2017-badge/micropython-esp32,Timmenem/micropython,pfalcon/micropython,tobbad/micropython,matthewelse/micropython,ryannathans/micropython,henriknelson/micropython,ryannathans/micropython,AriZuu/micropython