Re: [U-Boot] [PATCH 1/2] gpio: Add GPIO driver framework for Marvell SoCs

Hi Lei,
Please put this get_gpio_base into arch's self directory, since different soc may have different number of banks. For example, mmp3 has 6 banks.
Can I declare get_gpio_base in arch's gpio.h file as static inline? so other archs can have their own version in their respective gpio.h file.
Regards, Ajay Bhargav

Hi Ajay,
On Thu, Jul 21, 2011 at 8:34 PM, Ajay Bhargav ajay.bhargav@einfochips.com wrote:
Hi Lei,
Please put this get_gpio_base into arch's self directory, since different soc may have different number of banks. For example, mmp3 has 6 banks.
Can I declare get_gpio_base in arch's gpio.h file as static inline? so other archs can have their own version in their respective gpio.h file.
Ok, I think that could be accepted.
Best regards, Lei
participants (2)
-
Ajay Bhargav
-
Lei Wen