aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2018-12-13 16:36:07 +0100
committerSandrine Bailleux <sandrine.bailleux@arm.com>2018-12-13 17:10:31 +0100
commitb907d9d0dfceeaa8245497382f6feb6e344ac522 (patch)
tree10e8cbeb83200bc54185b75ffae8a0e863e386e0
parent8800925f3914498534e78bc6afeb525254d80e51 (diff)
downloadtf-a-tests-b907d9d0dfceeaa8245497382f6feb6e344ac522.tar.gz
Remove prints from VExpress NOR flash driver
There are way too many flash accesses for these prints to be useful. As a result, they clobber the output (when they are enabled). They might have been useful when the driver was developed but now that it is more mature, their existence is arguable. Change-Id: Ie068000ad2319c5f58f8bb7c7c891a24f6d21fdf Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
-rw-r--r--drivers/io/vexpress_nor/io_vexpress_nor_hw.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/io/vexpress_nor/io_vexpress_nor_hw.c b/drivers/io/vexpress_nor/io_vexpress_nor_hw.c
index de7b4ceff..6e563c9f0 100644
--- a/drivers/io/vexpress_nor/io_vexpress_nor_hw.c
+++ b/drivers/io/vexpress_nor/io_vexpress_nor_hw.c
@@ -159,7 +159,6 @@ static int flash_erase_block(const io_nor_flash_spec_t *device,
int err = IO_SUCCESS;
uint32_t status_register;
- VERBOSE("%s : 0x%x\n", __func__, block_offset);
/* Request a block erase and then confirm it */
nor_send_cmd(block_offset, NOR_CMD_BLOCK_ERASE);
nor_send_cmd(block_offset, NOR_CMD_BLOCK_ERASE_ACK);
@@ -359,7 +358,6 @@ int flash_block_write(file_state_t *fp, uint32_t offset,
/* address passed should be block aligned */
assert(!(offset % fp->block_spec->block_size));
- VERBOSE("%s : 0x%x\n", __func__, flash_pos);
/* Unlock block */
flash_unlock_block_if_necessary(fp->block_spec, block_offset);
@@ -398,7 +396,6 @@ int flash_block_write(file_state_t *fp, uint32_t offset,
*written = fp->block_spec->block_size;
lock_block:
- VERBOSE("%s : 0x%x\n", __func__, block_offset);
/* Lock the block once done */
flash_perform_lock_operation(fp->block_spec,
block_offset,