[U-Boot] [PATCH 07/69] gpio: Add a function to obtain a GPIO vector value

Bin Meng bmeng.cn at gmail.com
Fri Mar 11 05:02:27 CET 2016


On Fri, Mar 11, 2016 at 11:45 AM, Bin Meng <bmeng.cn at gmail.com> wrote:
> On Mon, Mar 7, 2016 at 10:27 AM, Simon Glass <sjg at chromium.org> wrote:
>> We can use GPIOs as binary digits for reading 'strapping' values. Each GPIO
>> is assigned a single bit and can be set high or low on the circuit board. We
>> already have a legacy function for reading these values. Add one that
>> supports driver model.
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>> ---
>>
>>  drivers/gpio/gpio-uclass.c | 18 ++++++++++++++++++
>>  include/asm-generic/gpio.h | 12 ++++++++++++
>>  2 files changed, 30 insertions(+)
>>
>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

applied to u-boot-x86/next, thanks!


More information about the U-Boot mailing list