From 33cc6a8f019d113b3aa4170131b4907df87388b0 Mon Sep 17 00:00:00 2001 From: Firefly Date: Tue, 21 Jun 2016 16:06:52 +0800 Subject: [PATCH] [u-boot] rk gpio: gpio.h modify comment error. Change-Id: I4dca6bf12cdbc8a7c661ab3ea4cedb4f0442d68b Signed-off-by: Firefly (cherry picked from commit 34fcb211766e3e342ee6b5009c36a450f4d92a77) --- u-boot/arch/arm/include/asm/arch-rk32xx/gpio.h | 2 +- u-boot/arch/arm/include/asm/arch-rk33xx/gpio.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/u-boot/arch/arm/include/asm/arch-rk32xx/gpio.h b/u-boot/arch/arm/include/asm/arch-rk32xx/gpio.h index c82425e088..c3ab0159ac 100755 --- a/u-boot/arch/arm/include/asm/arch-rk32xx/gpio.h +++ b/u-boot/arch/arm/include/asm/arch-rk32xx/gpio.h @@ -46,7 +46,7 @@ struct rk_gpio_bank { * rk gpio api define the gpio format as: * using 32 bit for rk gpio value, * the high 24bit of gpio is bank id, the low 8bit of gpio is pin number - * eg: gpio = 0x00010008, it mean gpio1_b0, 0x00010000 is bank id of GPIO_BANK1, 0x00000008 is GPIO_B0 + * eg: gpio = 0x00000108, it mean gpio1_b0, 0x00000100 is bank id of GPIO_BANK1, 0x00000008 is GPIO_B0 */ /* bank and pin bit mask */ diff --git a/u-boot/arch/arm/include/asm/arch-rk33xx/gpio.h b/u-boot/arch/arm/include/asm/arch-rk33xx/gpio.h index 651c35470f..8991bdda79 100755 --- a/u-boot/arch/arm/include/asm/arch-rk33xx/gpio.h +++ b/u-boot/arch/arm/include/asm/arch-rk33xx/gpio.h @@ -46,7 +46,7 @@ struct rk_gpio_bank { * rk gpio api define the gpio format as: * using 32 bit for rk gpio value, * the high 24bit of gpio is bank id, the low 8bit of gpio is pin number - * eg: gpio = 0x00010008, it mean gpio1_b0, 0x00010000 is bank id of GPIO_BANK1, 0x00000008 is GPIO_B0 + * eg: gpio = 0x00000108, it mean gpio1_b0, 0x00000100 is bank id of GPIO_BANK1, 0x00000008 is GPIO_B0 */ /* bank and pin bit mask */