[U-Boot] [PATCH] s5p: gpio: change gpio coding method for s5p gpio.

Przemyslaw Marczak p.marczak at samsung.com
Thu Nov 28 10:16:17 CET 2013


Hello Minkyu,

On 11/13/2013 01:01 PM, Przemyslaw Marczak wrote:
> Old s5p gpio coding method returns bad bank address in few cases.
> Now it is working properly with every gpio part bank and pin
> and it is easy to extend.
>
> Gpio coding mask:
> 0x000000ff - pin number
> 0x00ffff00 - bank offset
> 0xff000000 - part number
>
> Tested on: Goni, Universal, Trats, Trats2.
>
> Signed-off-by: Przemyslaw Marczak <p.marczak at samsung.com>
> CC: Minkyu Kang <mk7.kang at samsung.com>

Could you review this patch, please?
Thanks
-- 
Przemyslaw Marczak
Samsung R&D Institute Poland
Samsung Electronics
p.marczak at samsung.com


More information about the U-Boot mailing list