Hai
I'm Sekra working on beagleboard xm.Now i download the ICS source code for that board.It has 2.6.37 kernel (initial stable kernel) and u-boot 2010-dirty also.
In my u-boot i want to set the GPIO via the gpio.h functions respectively.
omap_request_gpio()
omap_set_gpio_direction()
omap_get_gpio_datain() in the beagle.c file u-boot.
I want to configure with below commands instead of above ones
gpio_request(N, "");
gpio_direction_output(N, 1);
gpio_set_value(N,0);
How do i change this functions....how do i cal this???what are the dependency files.
2)if i use to set the GPIO via the older functions ( omap_request_gpio ).How to set,clear,direction the pins??How to configure the GPIO via this commands respectively.