1 ifeq ($(CONFIG_DRIVERS_UART),y)
8 smm-$(CONFIG_DEBUG_SMI) += util.c
10 # Add the driver, only one can be enabled. The driver files may
11 # be located in the soc/ or cpu/ directories instead of here.
13 ifeq ($(CONFIG_DRIVERS_UART_8250IO),y)
14 bootblock-y += uart8250io.c
15 verstage-y += uart8250io.c
16 romstage-y += uart8250io.c
17 postcar-y += uart8250io.c
18 ramstage-y += uart8250io.c
19 smm-$(CONFIG_DEBUG_SMI) += uart8250io.c
22 ifeq ($(CONFIG_DRIVERS_UART_8250MEM),y)
23 bootblock-y += uart8250mem.c
24 verstage-y += uart8250mem.c
25 romstage-y += uart8250mem.c
26 postcar-y += uart8250mem.c
27 ramstage-y += uart8250mem.c
28 smm-$(CONFIG_DEBUG_SMI) += uart8250mem.c
31 ifeq ($(CONFIG_DRIVERS_UART_OXPCIE),y)
32 bootblock-y += oxpcie_early.c
33 verstage-y += oxpcie_early.c
34 romstage-y += oxpcie_early.c
35 postcar-y += oxpcie_early.c
36 ramstage-y += oxpcie_early.c oxpcie.c
39 ifeq ($(CONFIG_DRIVERS_UART_PL011),y)
40 bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += pl011.c
47 ifeq ($(CONFIG_DRIVERS_UART_SIFIVE),y)
48 bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += sifive.c
49 romstage-y += sifive.c
51 ramstage-y += sifive.c