Hi Brian,
You're right, it is better using the MTD framework than a private one. But there is no obligation for older platforms to move to the MTD framework.
Best regards, Yann
On 6/27/22 15:11, Brian Neely via TF-A wrote:
Hi Yann,
Thanks for your reply. This is for a new SoC my company is developing. The plan is to hook our custom SPI controller driver to the MTD framework, which will be used to load the FIP from a NOR flash device. I saw some other non-MTD implementations in the TF-A source (e.g. https://github.com/ARM-software/arm-trusted-firmware/blob/master/drivers/brc...), but assumed the correct thing to do going forward was to use MTD. Is that a good assumption?
-Brian