Has anyone used the Pin Mux Utility?  I'm trying to enable R30 and R31 on 
my PRUs.  I've had a rough time enabling device trees so I decided to try 
and use the Pin Mux Utility.  It seems relatively easy to use and it 
produces nice .h files but the compiler has an issue with some of the code.

#define MUX_VAL(OFFSET,VALUE)\
    writel((VALUE), AM335X_CTRL_BASE + (OFFSET));

Neither GCC or G++ know what to make of writel().  They say it's not 
defined and such.  I've read something about linux/io.h but I haven't been 
able to find it.  Am I barking up a tree with this utility?

Those who have successfully done Pin Muxing, by what means?  I've tried 
doing the hipster circuit tutorial but debian doesn't like the tree so says 
dmesg.  I'm not sold on the tree method anyways because I wouldn't mind 
being able to alter the muxing between compiles not restarts.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to