[U-Boot] [RFC PATCH 1/3] at91: add new gpio pin macros

Jens Scharsig
2013-10-30T17:19:57Z

Am 30.10.2013 11:39, schrieb Andreas Bie?mann:
> Hi Bo,
>
> +Jens, he did the rewrite of the at91 gpio driver.
>

>
> I think this is a job for gpio_is_valid() then. How is this case handled
> in kernel?
>
> Here are a few things to discuss. First of all I'd like to get some
> insights why the at91 gpio API was changed back in 2010. It was a plain
> number before and was changed to PORT + PIN as two separate parameters.
> Jens, could you please shed some light on this?
>

Sorry, but I don't remember me why we do this. I think, it was a
compromise between number of changes and code size.

Regards

Jens