I enabled fmc in arch/arm/boot/dts/stm32mp157f-dk2.dts:&fmc {
status = "okay";
};And this is how i read or write its registers:static inline unsigned int readl(const volatile void *addr)
{
unsigned int val;
__asm__ __volatile__("": : :"memory");
...
Hi.I did realize that v4.x is not supported. But I have to do it for some special reasons. I will try using fmc with v5.15, and I have more questions. Below works are done under 4.19, but driver of 5.15 and 4.19 seems quiet similar, I guess they will...
Hi @PatrickF .As I am working with 4.19 version of linux kernel, it is not enough to enable fmc in device tree. The driver will quit at probe function when no nand device detected. The registers will be unmapped then, that is why I cannot access its ...