How to get flash address on dts?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to get flash address on dts?

Mori Hiroki
Hi

I modify forked Ralink WiFi driver.

I want get eeprom data offset in flash.

For example. 

https://github.com/yamori813/freebsd/blob/zrouter/sys/dts/mips/WN-G300DGR.dts


I want get "ralink,mtd-eeprom" value at wmac that is 0x1f040000.

How to get in driver ?

If you have suggestion, pelase let me know.

Thanks.

Hiroki Mori 
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-mips
To unsubscribe, send any mail to "[hidden email]"