Many thanks for sending the driver and sample app. Will give it a go.
The SPI NOR flash driver comes as a part of the SDK for the SoC I'm working on and is present in folder:
albeit without security routines. I'm not sure if the patch would work but will give it a go.