Commit 6751b836 authored by Lionel Debieve's avatar Lionel Debieve Committed by Yann Gautier
Browse files

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: default avatarLionel Debieve <lionel.debieve@st.com>
Signed-off-by: default avatarYann Gautier <yann.gautier@st.com>
parent 769a9904
/* /*
* Copyright (c) 2019, STMicroelectronics - All Rights Reserved * Copyright (c) 2019-2020, STMicroelectronics - All Rights Reserved
* *
* SPDX-License-Identifier: BSD-3-Clause * SPDX-License-Identifier: BSD-3-Clause
*/ */
...@@ -368,7 +368,7 @@ int spi_nor_init(unsigned long long *size, unsigned int *erase_size) ...@@ -368,7 +368,7 @@ int spi_nor_init(unsigned long long *size, unsigned int *erase_size)
if (nor_dev.read_op.data.buswidth == 4U) { if (nor_dev.read_op.data.buswidth == 4U) {
switch (id) { switch (id) {
case MACRONIX_ID: case MACRONIX_ID:
WARN("Enable Macronix quad support\n"); INFO("Enable Macronix quad support\n");
ret = spi_nor_macronix_quad_enable(); ret = spi_nor_macronix_quad_enable();
break; break;
case MICRON_ID: case MICRON_ID:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment