]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
put gpio_map[] into 'data' section to make sure it is the same in SPL and regular...
authorLothar Waßmann <LW@KARO-electronics.de>
Mon, 24 Jun 2013 08:49:05 +0000 (10:49 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 24 Jun 2013 08:49:05 +0000 (10:49 +0200)
drivers/gpio/am33xx_gpio.c

index 8f447ed1e7b93ca35e93ec4a38a836aa29f6c926..2b4074551a8d1d7a6abe0e491896c4f4865cc762 100644 (file)
@@ -39,7 +39,7 @@ static const struct gpio_regs *gpio_base[] = {
        (struct gpio_regs *)AM33XX_GPIO3_BASE,
 };
 
-static unsigned long gpio_map[ARRAY_SIZE(gpio_base)];
+static unsigned long gpio_map[ARRAY_SIZE(gpio_base)] __attribute__((section("data")));
 
 #define MAX_GPIO       (ARRAY_SIZE(gpio_base) * 32)