Add basic NOR flash driver for ARM platforms
FVP and Juno platforms include a NOR flash memory to store and
load the FIP, the kernel or a ramdisk. This NOR flash is arranged
as 2 x 16 bit flash devices and can be programmed using CFI
standard commands.

This patch provides a basic API to write single 32 bit words of
data into the NOR flash. Functions to lock/unlock blocks against
erase or write operations are also provided.

Change-Id: I1da7ad3105b1ea409c976adc863954787cbd90d2
1 parent dc2d403 commit 9784dbda1147458598f1d586d8242332ada19b44
@Juan Castillo Juan Castillo authored on 12 Aug 2015
Showing 2 changed files
View
include/plat/arm/board/common/drivers/norflash.h 0 → 100644
View
plat/arm/board/common/drivers/norflash/norflash.c 0 → 100644