forked from Mirrors/opensbi
lib: utils/serial: support 'reg-offset' property
reg-offset property is used for offset to apply to the mapbase from the start of the registers in 8250 UART. In Linux kernel, it has been handled in 8250 UART driver. dt-bindings: <linux>/Documentation/devicetree/bindings/serial/8250.yaml Signed-off-by: Zong Li <zong.li@sifive.com> Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#define AE350_UART_BAUDRATE 38400
|
||||
#define AE350_UART_REG_SHIFT 2
|
||||
#define AE350_UART_REG_WIDTH 0
|
||||
#define AE350_UART_REG_OFFSET 0
|
||||
|
||||
/*Memory and Miscellaneous Registers*/
|
||||
#define CSR_MILMB 0x7c0
|
||||
|
Reference in New Issue
Block a user