]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
mtd: nand: omap_gpmc: don't use U-Boot global 'gpmc_cfg'
authorLothar Waßmann <LW@KARO-electronics.de>
Mon, 7 Oct 2013 11:48:29 +0000 (13:48 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 7 Oct 2013 11:48:29 +0000 (13:48 +0200)
drivers/mtd/nand/omap_gpmc.c

index ec1787f22492d93322a4014c6acc3d3da9ba2d9f..2272bfccd604d81553a1fe4c33e83befb1ee37a2 100644 (file)
@@ -25,6 +25,8 @@ static __maybe_unused struct nand_ecclayout hw_nand_oob =
 static __maybe_unused struct nand_ecclayout hw_bch8_nand_oob =
        GPMC_NAND_HW_BCH8_ECC_LAYOUT;
 
+static struct gpmc *gpmc_cfg = (struct gpmc *)GPMC_BASE;
+
 /*
  * omap_nand_hwcontrol - Set the address pointers corretly for the
  *                     following address/data/command operation