This is an old PITA that AFAIK still isn't fixed. See this post. You can set your bsp settings (xilisf serial_flash_family) to winbond (4) or spansion (5) if that's what you're using. Otherwise, I suppose you can edit the conditionals in your project. I've done as much in a pinch.