Skip to content
Permalink
Browse files

soc/riscv32-fe310: add label for uart1

Without this label cmake fails when attempting to enable this uart.

Signed-off-by: Sören Tempel <soeren+git@soeren-tempel.net>
  • Loading branch information...
nmeum authored and galak committed Apr 24, 2019
1 parent 857ea45 commit 5311a7d7beac4b12fe980b9314344d7e06cb2f78
Showing with 2 additions and 0 deletions.
  1. +1 −0 dts/riscv32/riscv32-fe310.dtsi
  2. +1 −0 soc/riscv32/riscv-privilege/sifive-freedom/dts_fixup.h
@@ -171,6 +171,7 @@
interrupts = <4>;
reg = <0x10023000 0x1000>;
reg-names = "control";
label = "uart_1";
status = "disabled";
};
spi0: spi@10014000 {
@@ -62,6 +62,7 @@
#define DT_SIFIVE_UART_1_BASE_ADDR DT_SIFIVE_UART0_10023000_BASE_ADDRESS
#define DT_SIFIVE_UART_1_CURRENT_SPEED DT_SIFIVE_UART0_10023000_CURRENT_SPEED
#define DT_SIFIVE_UART_1_IRQ_0 DT_SIFIVE_UART0_10023000_IRQ_0
#define DT_SIFIVE_UART_1_LABEL DT_SIFIVE_UART0_10023000_LABEL
#define DT_SIFIVE_UART_1_SIZE DT_SIFIVE_UART0_10023000_SIZE
#define DT_SIFIVE_UART_1_CLK_FREQ DT_SIFIVE_UART0_10023000_CLOCK_FREQUENCY

0 comments on commit 5311a7d

Please sign in to comment.
You can’t perform that action at this time.