]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
am33xx: remove global variable gpmc_cfg
authorLothar Waßmann <LW@KARO-electronics.de>
Mon, 24 Jun 2013 09:44:57 +0000 (11:44 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 24 Jun 2013 09:44:57 +0000 (11:44 +0200)
commitc9cb9f5b0713fb625d102c1f72039320f794835c
treefe4caedc359313aff8f002b93c43457c4babcdbc
parentd072c76b1dd8a4cd0e450e9fbb4722e5ec3103c5
am33xx: remove global variable gpmc_cfg

SPL and regular code use different addresses for global variables.
Thus the initial value from SPL code is not available in regular code.
Make the variable local to each file where it is used.
arch/arm/cpu/armv7/am33xx/mem.c
arch/arm/include/asm/arch-am33xx/cpu.h
drivers/mtd/nand/am33xx_nand.c