diff mbox

[U-Boot,1/4,v3] x86: baytrail: fix the GPIOBASE address

Message ID 1429992963-10345-1-git-send-email-contact@huau-gabriel.fr
State Accepted
Delegated to: Simon Glass
Headers show

Commit Message

Gabriel Huau April 25, 2015, 8:16 p.m. UTC
The correct GPIOBASE address on the baytrail is 0x48

Signed-off-by: Gabriel Huau <contact@huau-gabriel.fr>
---
Changes for v2:
	- Add a commit message

Changes for v3:
	- Fix patch number

 arch/x86/include/asm/arch-baytrail/gpio.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bin Meng April 26, 2015, 1:52 p.m. UTC | #1
Hi Gabriel,

On Sun, Apr 26, 2015 at 4:16 AM, Gabriel Huau <contact@huau-gabriel.fr> wrote:
> The correct GPIOBASE address on the baytrail is 0x48
>
> Signed-off-by: Gabriel Huau <contact@huau-gabriel.fr>
> ---

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

Please edit your commit message in the v2 to include such tags like
Acked-by, Reviewed-by, etc so that we know the patch status.

> Changes for v2:
>         - Add a commit message
>
> Changes for v3:
>         - Fix patch number
>
>  arch/x86/include/asm/arch-baytrail/gpio.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/x86/include/asm/arch-baytrail/gpio.h b/arch/x86/include/asm/arch-baytrail/gpio.h
> index ab4e059..4e8987c 100644
> --- a/arch/x86/include/asm/arch-baytrail/gpio.h
> +++ b/arch/x86/include/asm/arch-baytrail/gpio.h
> @@ -8,6 +8,6 @@
>  #define _X86_ARCH_GPIO_H_
>
>  /* Where in config space is the register that points to the GPIO registers? */
> -#define PCI_CFG_GPIOBASE 0x44
> +#define PCI_CFG_GPIOBASE 0x48
>
>  #endif /* _X86_ARCH_GPIO_H_ */
> --

Regards,
Bin
Simon Glass April 28, 2015, 1:53 p.m. UTC | #2
On 26 April 2015 at 07:52, Bin Meng <bmeng.cn@gmail.com> wrote:
> Hi Gabriel,
>
> On Sun, Apr 26, 2015 at 4:16 AM, Gabriel Huau <contact@huau-gabriel.fr> wrote:
>> The correct GPIOBASE address on the baytrail is 0x48
>>
>> Signed-off-by: Gabriel Huau <contact@huau-gabriel.fr>
>> ---
>
> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

Acked-by: Simon Glass <sjg@chromium.org>

>
> Please edit your commit message in the v2 to include such tags like
> Acked-by, Reviewed-by, etc so that we know the patch status.

Also you could take a look at patman which automates the creation of
change lists, checking patches, etc.

>
>> Changes for v2:
>>         - Add a commit message
>>
>> Changes for v3:
>>         - Fix patch number
>>
>>  arch/x86/include/asm/arch-baytrail/gpio.h | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/arch/x86/include/asm/arch-baytrail/gpio.h b/arch/x86/include/asm/arch-baytrail/gpio.h
>> index ab4e059..4e8987c 100644
>> --- a/arch/x86/include/asm/arch-baytrail/gpio.h
>> +++ b/arch/x86/include/asm/arch-baytrail/gpio.h
>> @@ -8,6 +8,6 @@
>>  #define _X86_ARCH_GPIO_H_
>>
>>  /* Where in config space is the register that points to the GPIO registers? */
>> -#define PCI_CFG_GPIOBASE 0x44
>> +#define PCI_CFG_GPIOBASE 0x48
>>
>>  #endif /* _X86_ARCH_GPIO_H_ */
>> --
>
> Regards,
> Bin

Regards,
Simon
Simon Glass April 28, 2015, 3:39 p.m. UTC | #3
On 28 April 2015 at 07:53, Simon Glass <sjg@chromium.org> wrote:
> On 26 April 2015 at 07:52, Bin Meng <bmeng.cn@gmail.com> wrote:
>> Hi Gabriel,
>>
>> On Sun, Apr 26, 2015 at 4:16 AM, Gabriel Huau <contact@huau-gabriel.fr> wrote:
>>> The correct GPIOBASE address on the baytrail is 0x48
>>>
>>> Signed-off-by: Gabriel Huau <contact@huau-gabriel.fr>
>>> ---
>>
>> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
>
> Acked-by: Simon Glass <sjg@chromium.org>

Applied to u-boot-x86, thanks!
diff mbox

Patch

diff --git a/arch/x86/include/asm/arch-baytrail/gpio.h b/arch/x86/include/asm/arch-baytrail/gpio.h
index ab4e059..4e8987c 100644
--- a/arch/x86/include/asm/arch-baytrail/gpio.h
+++ b/arch/x86/include/asm/arch-baytrail/gpio.h
@@ -8,6 +8,6 @@ 
 #define _X86_ARCH_GPIO_H_
 
 /* Where in config space is the register that points to the GPIO registers? */
-#define PCI_CFG_GPIOBASE 0x44
+#define PCI_CFG_GPIOBASE 0x48
 
 #endif /* _X86_ARCH_GPIO_H_ */