aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Debieve <lionel.debieve@st.com>2020-04-27 09:50:48 +0200
committerYann Gautier <yann.gautier@st.com>2020-09-24 09:30:44 +0200
commit6751b83652c1604a77aee9348a240656658d0102 (patch)
tree26adb8260495aeda68d6be12b9d35d7bb70c92c9
parent769a9904288266181450fc6071f7fab4dbd39d94 (diff)
downloadtrusted-firmware-a-6751b83652c1604a77aee9348a240656658d0102.tar.gz
mtd: spi_nor: change message level on macronix detection
Change the detection message from WARN to INFO when macronix NOR is detected. Change-Id: I488696f1fb75b823e85decfcd6cd32e7b36a6c2e Signed-off-by: Lionel Debieve <lionel.debieve@st.com> Signed-off-by: Yann Gautier <yann.gautier@st.com>
-rw-r--r--drivers/mtd/nor/spi_nor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nor/spi_nor.c b/drivers/mtd/nor/spi_nor.c
index 22d3ae3d9e..108f893d3f 100644
--- a/drivers/mtd/nor/spi_nor.c
+++ b/drivers/mtd/nor/spi_nor.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2019, STMicroelectronics - All Rights Reserved
+ * Copyright (c) 2019-2020, STMicroelectronics - All Rights Reserved
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -368,7 +368,7 @@ int spi_nor_init(unsigned long long *size, unsigned int *erase_size)
if (nor_dev.read_op.data.buswidth == 4U) {
switch (id) {
case MACRONIX_ID:
- WARN("Enable Macronix quad support\n");
+ INFO("Enable Macronix quad support\n");
ret = spi_nor_macronix_quad_enable();
break;
case MICRON_ID: