Kyösti Mälkki | 3ee1668 | 2014-02-17 19:37:52 +0200 | [diff] [blame] | 1 | ifeq ($(CONFIG_CONSOLE_SERIAL),y) |
| 2 | romstage-y += util.c |
| 3 | ramstage-y += util.c |
| 4 | bootblock-y += util.c |
Kyösti Mälkki | 9c479c9 | 2014-01-26 11:32:51 +0200 | [diff] [blame^] | 5 | smm-$(CONFIG_DEBUG_SMI) += util.c |
Kyösti Mälkki | 3ee1668 | 2014-02-17 19:37:52 +0200 | [diff] [blame] | 6 | endif |
Kyösti Mälkki | 7e75f20 | 2014-02-10 23:21:14 +0200 | [diff] [blame] | 7 | |
Kyösti Mälkki | bea6bf0 | 2014-01-30 15:45:16 +0200 | [diff] [blame] | 8 | ifeq ($(CONFIG_CONSOLE_SERIAL8250),y) |
| 9 | romstage-y += uart8250io.c |
| 10 | ramstage-y += uart8250io.c |
Kyösti Mälkki | 9c479c9 | 2014-01-26 11:32:51 +0200 | [diff] [blame^] | 11 | smm-$(CONFIG_DEBUG_SMI) += uart8250io.c |
Kyösti Mälkki | bea6bf0 | 2014-01-30 15:45:16 +0200 | [diff] [blame] | 12 | endif |
| 13 | |
| 14 | ifeq ($(CONFIG_CONSOLE_SERIAL8250MEM),y) |
| 15 | romstage-y += uart8250mem.c |
| 16 | ramstage-y += uart8250mem.c |
Kyösti Mälkki | 9c479c9 | 2014-01-26 11:32:51 +0200 | [diff] [blame^] | 17 | smm-$(CONFIG_DEBUG_SMI) += uart8250mem.c |
Kyösti Mälkki | bea6bf0 | 2014-01-30 15:45:16 +0200 | [diff] [blame] | 18 | endif |
| 19 | |
Kyösti Mälkki | 7e75f20 | 2014-02-10 23:21:14 +0200 | [diff] [blame] | 20 | ifeq ($(CONFIG_CONSOLE_SERIAL_UART),y) |
| 21 | |
| 22 | ifeq ($(CONFIG_DRIVERS_UART_PL011),y) |
| 23 | bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += pl011.c |
| 24 | romstage-$(CONFIG_EARLY_CONSOLE) += pl011.c |
| 25 | ramstage-y += pl011.c |
| 26 | endif |
| 27 | |
| 28 | endif |