soc: riscv: microchip_miv: miv: move MIV_UART_0_LINECFG to driver

Instead of soc.h, since it's not used by anything else.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2024-01-16 15:15:23 +01:00 committed by Fabio Baltieri
commit 0c5a2b1fe4
2 changed files with 2 additions and 2 deletions

View file

@ -106,6 +106,8 @@
#define BAUDVALUE_MSB ((uint16_t)(0xFF00))
#define BAUDVALUE_SHIFT ((uint8_t)(5))
#define MIV_UART_0_LINECFG 0x1
#ifdef CONFIG_UART_INTERRUPT_DRIVEN
static struct k_thread rx_thread;
static K_KERNEL_STACK_DEFINE(rx_stack, 512);

View file

@ -4,7 +4,5 @@
#ifndef __RISCV32_MIV_SOC_H_
#define __RISCV32_MIV_SOC_H_
/* UART Configuration */
#define MIV_UART_0_LINECFG 0x1
#endif /* __RISCV32_MIV_SOC_H_ */