> 
> Thanks for the reply.  So if my nvSRAM device is located at 0xb0000000 
in 
> physical memory, what would the mmap() call look like?  Also, do I need 
to 
> have a device tree entry for the kernel to know about the memory?  I can 

> access the device in uboot so I know it works, but I can't figure out 
the 
> mmap to get it from linux
> 

Never mind.  I figured out how to use mmap.  It's all in the parameter 
'off' not 'addr' :).  Thanks to everyone who responded with help.

Bruce
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to