drivers: eth: mcux: use CONFIG_SYS_LOG_ETHERNET_LEVEL for syslog level

Don't hard code the syslog level to DEBUG, instead use the
CONFIG_SYS_LOG_ETHERNET_LEVEL setting like other ethernet drivers.

Signed-off-by: Michael Scott <michael@opensourcefoundries.com>
This commit is contained in:
Michael Scott 2018-05-30 21:25:47 -07:00 committed by Maureen Helm
commit 30dbf3c0e5

View file

@ -13,7 +13,7 @@
*/
#define SYS_LOG_DOMAIN "dev/eth_mcux"
#define SYS_LOG_LEVEL SYS_LOG_LEVEL_DEBUG
#define SYS_LOG_LEVEL CONFIG_SYS_LOG_ETHERNET_LEVEL
#include <logging/sys_log.h>
#include <board.h>