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:
parent
c5699fac7f
commit
0c5a2b1fe4
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue