norflash: Add nor_erase() to NOR driver
authorRoberto Vargas <roberto.vargas@arm.com>
Fri, 28 Jul 2017 09:38:24 +0000 (10:38 +0100)
committerRoberto Vargas <roberto.vargas@arm.com>
Tue, 22 Aug 2017 08:41:59 +0000 (09:41 +0100)
commit784502aeaed11aad205eb80ed05b1f78fc643d93
treed81781174dedc073dc504cc55875fccc9001043c
parentb4b09ca5676fed17ead90f3b0ff3b08b9176f85f
norflash: Add nor_erase() to NOR driver

NOR memory only supports setting bits to 1. To clear a bit, set to zero,
the NOR memory needs to be erased.

Change-Id: Ia82eb15a5af9a6d4fc7e5ea2b58e6db87226b351
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
include/plat/arm/board/common/drivers/norflash.h
plat/arm/board/common/drivers/norflash/norflash.c