Hi Swanpnil,
Regarding to your request, I'm afraid that the requirement beyond the K22.
And I'd highly recommend that you to choose the K81 or K82 instead of the K22 to achieve the usage.
Now the KBOOT v2.0 support boot from an encrypted QuadSPI image, however this method can only be used on K8x processors which inlude OTFAD support and you can learn the more information through the http://www.nxp.com/files/soft_dev_tools/doc/user_guide/KBLQSPIUG.pdf?fasp=1&WT_TYPE=Users%20Guides&W...
Have a great day,
Ping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------