u-boot/arch/arm
Simon Glass 747c4c68c0 stm32: Correct positioning of declaration
The current code gives a warning:

arch/arm/mach-stm32/stm32f7/soc.c: In function 'arch_cpu_init':
arch/arm/mach-stm32/stm32f7/soc.c:38:2: error: 'for' loop initial
    declarations are only allowed in C99 or C11 mode
  for (int i = 0; i < ARRAY_SIZE(stm32_region_config); i++)
  ^
arch/arm/mach-stm32/stm32f7/soc.c:38:2: note: use option -std=c99,
    -std=gnu99, -std=c11 or -std=gnu11 to compile your code

Fix it by moving the declaration to the top of the function.

Signed-off-by: Simon Glass <sjg@chromium.org>
Series-cc trini
2017-07-06 16:17:17 -04:00
..
cpu arm64: use psci reset on snapdragon 2017-07-06 16:17:13 -04:00
dts atmel, at91: fix taurus board 2017-06-29 10:01:12 -04:00
imx-common drivers: pci: imx: add imx_pcie_remove function 2017-05-31 10:09:03 +02:00
include ti816x: Enable ethernet support 2017-06-28 11:43:39 -04:00
lib Revert "armv7m: Disable D-cache when booting nommu(ARMv7M) Linux kernel" 2017-06-29 21:18:48 -04:00
mach-aspeed aspeed: Refactor SCU to use consistent mask & shift 2017-05-08 11:57:35 -04:00
mach-at91 ARM: atmel: Rename MA5D4EVK 2017-06-29 13:30:27 -04:00
mach-bcm283x bcm2835_wdt: support for the BCM2835/2836 watchdog 2017-05-09 20:30:08 -04:00
mach-davinci common: arm: davinci: Move header file out of common 2017-06-05 12:31:23 -04:00
mach-exynos Kconfig: Finish migration of hashing commands 2017-05-31 19:38:14 -04:00
mach-highbank ARM: highbank: move SoC sources to mach-highbank 2015-02-21 08:23:51 -05:00
mach-integrator integrator: switch to DM serial port 2015-08-12 20:47:49 -04:00
mach-keystone Convert CONFIG_SPL_BOARD_INIT to Kconfig 2017-05-22 07:29:48 -04:00
mach-kirkwood Kconfig: Add a CONFIG_IDE option 2017-05-22 12:45:27 -04:00
mach-meson board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
mach-mvebu dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
mach-omap2 ti816x: Add additional boot device detection logic 2017-06-23 10:38:03 -04:00
mach-orion5x board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
mach-rmobile mmc: sh_sdhi: Add MMC version 5.0 support 2017-06-09 20:25:16 +09:00
mach-rockchip rockchip: rk3288: Allow setting up clocks in U-Boot proper 2017-06-09 13:45:34 -06:00
mach-s5pc1xx arm: s5pc1xx: move SoC to mach-s5pc1xx 2015-11-30 17:17:01 +09:00
mach-snapdragon dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
mach-socfpga Convert CONFIG_SPL_BOARD_INIT to Kconfig 2017-05-22 07:29:48 -04:00
mach-sti board: Add STMicroelectronics STiH410-B2260 support 2017-03-14 20:40:21 -04:00
mach-stm32 stm32: Correct positioning of declaration 2017-07-06 16:17:17 -04:00
mach-sunxi sunxi: add LPDDR3 timing from stock boot0 2017-06-08 22:37:55 +05:30
mach-tegra ARM: tegra: remove Whistler support 2017-06-12 13:03:50 -07:00
mach-uniphier ARM: uniphier: fix various sparse warnings 2017-06-25 06:06:09 +09:00
mach-versatile arm: Remove versatileab board 2015-09-11 15:01:25 -04:00
mach-zynq arm: zynq: Add Kconfig option for any DDR specific initialization 2017-06-20 16:41:44 +02:00
thumb1/include/asm/proc-armv arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD 2015-11-10 15:03:48 +01:00
config.mk arm: Always keep the dtb section on objcopy 2017-06-05 14:13:11 -04:00
Kconfig ARM: make memset and memcpy prompt message more clearly 2017-06-29 09:51:06 -04:00
Kconfig.debug arm: debug: add Kconfig entries for lowlevel debug 2014-10-26 22:23:12 +01:00
Makefile ARM: omap2+: rename config to ARCH_OMAP2PLUS and consolidate Kconfig 2017-04-27 16:49:08 -04:00