From dc6a4b14067df2cdc44fd8daf57f912588537639 Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Mon, 8 Aug 2022 20:24:54 +0930 Subject: [PATCH] soc: Fix -Whide warning soc.vhdl:847:9:warning: declaration of "uart1" hides if generate statement [-Whide] uart1: uart_top ^ Signed-off-by: Joel Stanley --- soc.vhdl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soc.vhdl b/soc.vhdl index ec3a8a3..6842473 100644 --- a/soc.vhdl +++ b/soc.vhdl @@ -841,7 +841,7 @@ begin -- -- Always 16550 if it exists -- - uart1: if HAS_UART1 generate + uart1_16550: if HAS_UART1 generate signal irq_l : std_ulogic; begin uart1: uart_top