Skip to content

Commit

Permalink
soc/riscv32-fe310: add label for uart1
Browse files Browse the repository at this point in the history
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 25, 2019
1 parent 857ea45 commit 5311a7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dts/riscv32/riscv32-fe310.dtsi
Expand Up @@ -171,6 +171,7 @@
interrupts = <4>;
reg = <0x10023000 0x1000>;
reg-names = "control";
label = "uart_1";
status = "disabled";
};
spi0: spi@10014000 {
Expand Down
1 change: 1 addition & 0 deletions soc/riscv32/riscv-privilege/sifive-freedom/dts_fixup.h
Expand Up @@ -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.