]>
git.ipfire.org Git - thirdparty/u-boot.git/blob - arch/arm/cpu/arm925t/omap925.c
3 * Texas Instruments <www.ti.com>
5 * SPDX-License-Identifier: GPL-2.0+
12 #define MIF_CONFIG_REG 0xFFFECC0C
13 #define FLASH_GLOBAL_CTRL_NWP 1
15 void archflashwp (void *archdata
, int wp
)
17 ulong
*fgc
= (ulong
*) MIF_CONFIG_REG
;
20 *fgc
&= ~FLASH_GLOBAL_CTRL_NWP
;
22 *fgc
|= FLASH_GLOBAL_CTRL_NWP
;