From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jaehoon Chung Date: Wed, 20 Jun 2012 16:59:02 +0900 Subject: [U-Boot] [PATCH] EXYNOS5: GPIO: fix wrong gpio bank offset Message-ID: <4FE182C6.2090106@samsung.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de res1[] size is wrong. It didn't consider the s5p_gpio_bank size. Signed-off-by: Jaehoon Chung Signed-off-by: Kyungmin Park --- arch/arm/include/asm/arch-exynos/gpio.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/arch-exynos/gpio.h b/arch/arm/include/asm/arch-exynos/gpio.h index 7a9bb90..9f22b5c 100644 --- a/arch/arm/include/asm/arch-exynos/gpio.h +++ b/arch/arm/include/asm/arch-exynos/gpio.h @@ -100,7 +100,7 @@ struct exynos5_gpio_part1 { struct s5p_gpio_bank y4; struct s5p_gpio_bank y5; struct s5p_gpio_bank y6; - struct s5p_gpio_bank res1[0x980]; + struct s5p_gpio_bank res1[76]; struct s5p_gpio_bank x0; struct s5p_gpio_bank x1; struct s5p_gpio_bank x2; @@ -124,7 +124,7 @@ struct exynos5_gpio_part3 { struct s5p_gpio_bank v1; struct s5p_gpio_bank v2; struct s5p_gpio_bank v3; - struct s5p_gpio_bank res1[0x20]; + struct s5p_gpio_bank res1[2]; struct s5p_gpio_bank v4; };