]>
git.ipfire.org Git - people/ms/u-boot.git/blob - arch/arm/cpu/armv7/omap-common/mem-common.c
3 * Texas Instruments, <www.ti.com>
5 * Steve Sakoman <steve@sakoman.com>
7 * SPDX-License-Identifier: GPL-2.0+
10 #include <asm/arch/cpu.h>
11 #include <asm/arch/sys_proto.h>
13 struct gpmc
*gpmc_cfg
;
15 /*****************************************************
16 * gpmc_init(): init gpmc bus
17 * This code can only be executed from SRAM or SDRAM.
18 *****************************************************/
21 gpmc_cfg
= (struct gpmc
*)GPMC_BASE
;
24 writel(0, &gpmc_cfg
->irqenable
); /* isr's sources masked */
25 writel(0, &gpmc_cfg
->timeout_control
);/* timeout disable */
28 * Disable the GPMC0 config set by ROM code
29 * It conflicts with our MPDB (both at 0x08000000)
31 writel(0, &gpmc_cfg
->cs
[0].config7
);