vsl: configure flash limits

Use constants for configuration of flash parameters.