On 10 November 2014 18:00, Simon Glass <s...@chromium.org> wrote:
> For board IDs a common approach is to set aside several GPIOs for use in
> determining the board ID. This can provide information about board features
> and the revision.
>
> Add a function that turns a list of GPIOs into an integer by assigning
> each GPIO to a single bit.
>
> Signed-off-by: Simon Glass <s...@chromium.org>
> ---
>
> Changes in v2: None
>
>  drivers/gpio/gpio-uclass.c | 19 +++++++++++++++++++
>  include/asm-generic/gpio.h | 11 ++++++++++-
>  2 files changed, 29 insertions(+), 1 deletion(-)

Applied to u-boot-x86.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to