Hello rafal78,   You made my day ! This works on my machine.   Thanks you for sharing this patch.
latitude 5490. After update bios to 1.1.9 from 1.0.8 ubuntu 16 lts dont boot. Some problem with graphic driver (boot only with nomodeset param). Downgrade bios is forbidden.
linux dont boot after bios update