diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2016-07-12 20:28:16 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-07-22 14:46:00 -0400 |
commit | 0568dd0663429b00fb77c452e27434c2f4faa14b (patch) | |
tree | e52c5496dc78faaa9126433f3b233416e7baf55a /board/logicpd/zoom1/zoom1.c | |
parent | b1509e3a4aa55b003e814386dd83972858544e55 (diff) | |
download | u-boot-imx-0568dd0663429b00fb77c452e27434c2f4faa14b.zip u-boot-imx-0568dd0663429b00fb77c452e27434c2f4faa14b.tar.gz u-boot-imx-0568dd0663429b00fb77c452e27434c2f4faa14b.tar.bz2 |
armv7: make gpmc_cfg const
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
[trini: Adapt am33xx, duovero, omap_zoom1]
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/logicpd/zoom1/zoom1.c')
-rw-r--r-- | board/logicpd/zoom1/zoom1.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/board/logicpd/zoom1/zoom1.c b/board/logicpd/zoom1/zoom1.c index 982619c..2821ee2 100644 --- a/board/logicpd/zoom1/zoom1.c +++ b/board/logicpd/zoom1/zoom1.c @@ -19,6 +19,7 @@ #include <ns16550.h> #include <netdev.h> #include <twl4030.h> +#include <linux/mtd/omap_gpmc.h> #include <asm/io.h> #include <asm/arch/mem.h> #include <asm/arch/mmc_host_def.h> @@ -29,10 +30,10 @@ DECLARE_GLOBAL_DATA_PTR; -/* gpmc_cfg is initialized by gpmc_init and we use it here */ -extern struct gpmc *gpmc_cfg; - -/* GPMC definitions for Ethenet Controller LAN9211 */ +/* + * gpmc_cfg is initialized by gpmc_init and we use it here. + * GPMC definitions for Ethenet Controller LAN9211 + */ static const u32 gpmc_lab_enet[] = { ZOOM1_ENET_GPMC_CONF1, ZOOM1_ENET_GPMC_CONF2, |