Kyösti Mälkki | 3ee1668 | 2014-02-17 19:37:52 +0200 | [diff] [blame] | 1 | romstage-y += util.c |
| 2 | ramstage-y += util.c |
| 3 | bootblock-y += util.c |
Kyösti Mälkki | 9c479c9 | 2014-01-26 11:32:51 +0200 | [diff] [blame] | 4 | smm-$(CONFIG_DEBUG_SMI) += util.c |
Kyösti Mälkki | 7e75f20 | 2014-02-10 23:21:14 +0200 | [diff] [blame] | 5 | |
Kyösti Mälkki | afa7b13 | 2014-02-13 17:16:22 +0200 | [diff] [blame] | 6 | # Add the driver, only one can be enabled. The driver files may |
| 7 | # be located in the soc/ or cpu/ directories instead of here. |
| 8 | |
| 9 | ifeq ($(CONFIG_DRIVERS_UART_8250IO),y) |
Kyösti Mälkki | bea6bf0 | 2014-01-30 15:45:16 +0200 | [diff] [blame] | 10 | romstage-y += uart8250io.c |
| 11 | ramstage-y += uart8250io.c |
Kyösti Mälkki | 9c479c9 | 2014-01-26 11:32:51 +0200 | [diff] [blame] | 12 | smm-$(CONFIG_DEBUG_SMI) += uart8250io.c |
Kyösti Mälkki | bea6bf0 | 2014-01-30 15:45:16 +0200 | [diff] [blame] | 13 | endif |
| 14 | |
Kyösti Mälkki | afa7b13 | 2014-02-13 17:16:22 +0200 | [diff] [blame] | 15 | ifeq ($(CONFIG_DRIVERS_UART_8250MEM),y) |
Kyösti Mälkki | bea6bf0 | 2014-01-30 15:45:16 +0200 | [diff] [blame] | 16 | romstage-y += uart8250mem.c |
| 17 | ramstage-y += uart8250mem.c |
Kyösti Mälkki | 9c479c9 | 2014-01-26 11:32:51 +0200 | [diff] [blame] | 18 | smm-$(CONFIG_DEBUG_SMI) += uart8250mem.c |
Kyösti Mälkki | bea6bf0 | 2014-01-30 15:45:16 +0200 | [diff] [blame] | 19 | endif |
| 20 | |
Kyösti Mälkki | d53d96d | 2014-02-28 15:15:12 +0200 | [diff] [blame^] | 21 | ifeq ($(CONFIG_DRIVERS_UART_OXPCIE),y) |
| 22 | ramstage-y += oxpcie_early.c oxpcie.c |
| 23 | romstage-y += oxpcie_early.c |
| 24 | endif |
| 25 | |
Kyösti Mälkki | 7e75f20 | 2014-02-10 23:21:14 +0200 | [diff] [blame] | 26 | ifeq ($(CONFIG_DRIVERS_UART_PL011),y) |
| 27 | bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += pl011.c |
| 28 | romstage-$(CONFIG_EARLY_CONSOLE) += pl011.c |
| 29 | ramstage-y += pl011.c |
| 30 | endif |