Here's some documentation for it.
https://www.st.com/resource/en/user_man ... ronics.pdf
I've got an older version of the driver with sample source code, documentation, and binaries for the driver itself.
If I'm reading this right, it should be applicable to any MPC56xx chip with a C90FL flash module.
The 2017 kernel I'm looking at lines up more with the dual bank C90FL2 documentation, even though the 5674 is a single bank chip. I haven't looked around to see if there's a code download for the newer one.
You'd still need to write your own read routines, but that's relatively easy compared to the write part, no? The Freescale license seems to be "do whatever you want with this. Just don't bother us if it doesn't work."
LICENSE GRANT. Freescale grants to you, free of charge, the non-exclusive, non-transferable right (1) to use the Software, (2) to reproduce the Software, (3) to prepare derivative works of the Software, (4) to distribute the Software and derivative works thereof in source (human-readable) form and object (machine-readable) form, and (5) to
sublicense to others the right to use the distributed Software. If you violate any of the terms or restrictions of this Agreement, Freescale may immediately terminate this Agreement, and require that you stop using and delete all copies of the Software in your possession or control.