[conf] cleanup flash_modes