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 | ||||
5 | smm-y += util.c | ||||
6 | endif | ||||
Kyösti Mälkki | 7e75f20 | 2014-02-10 23:21:14 +0200 | [diff] [blame^] | 7 | |
8 | ifeq ($(CONFIG_CONSOLE_SERIAL_UART),y) | ||||
9 | |||||
10 | ifeq ($(CONFIG_DRIVERS_UART_PL011),y) | ||||
11 | bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += pl011.c | ||||
12 | romstage-$(CONFIG_EARLY_CONSOLE) += pl011.c | ||||
13 | ramstage-y += pl011.c | ||||
14 | endif | ||||
15 | |||||
16 | endif |