blob: 7c081ac269b44c2650e5d71912f056768a35eb62 [file] [log] [blame]
Stefan Reinauer24ef1342011-04-14 22:28:00 +00001
2
Stefan Reinauer1afe51a2011-10-26 22:11:52 +00003ifneq ($(CONFIG_HAVE_ARCH_MEMSET),y)
Stefan Reinauer24ef1342011-04-14 22:28:00 +00004romstage-y += memset.c
Stefan Reinauer1afe51a2011-10-26 22:11:52 +00005endif
Gabe Black1025f3a2011-09-16 02:18:56 -07006romstage-y += memchr.c
Stefan Reinauer0054afa2011-10-25 23:43:34 +00007ifneq ($(CONFIG_HAVE_ARCH_MEMCPY),y)
Stefan Reinauer24ef1342011-04-14 22:28:00 +00008romstage-y += memcpy.c
Stefan Reinauer0054afa2011-10-25 23:43:34 +00009endif
Stefan Reinauer24ef1342011-04-14 22:28:00 +000010romstage-y += memcmp.c
11romstage-y += cbfs.c
12romstage-y += lzma.c
13#romstage-y += lzmadecode.c
14romstage-$(CONFIG_CACHE_AS_RAM) += ramtest.c
15romstage-$(CONFIG_HAVE_ACPI_RESUME) += cbmem.c
16romstage-$(CONFIG_CONSOLE_SERIAL8250) += uart8250.c
Stefan Reinauer4885daa2011-04-26 23:47:04 +000017romstage-$(CONFIG_CONSOLE_SERIAL8250MEM) += uart8250mem.c
Vadim Bendebury3e316002011-09-30 12:02:18 -070018romstage-$(CONFIG_CONSOLE_CBMEM) += cbmem_console.c
Stefan Reinauer24ef1342011-04-14 22:28:00 +000019romstage-$(CONFIG_CONSOLE_NE2K) += ne2k.c
Stefan Reinauer24ef1342011-04-14 22:28:00 +000020romstage-$(CONFIG_USBDEBUG) += usbdebug.c
Vadim Bendebury6f72d692011-09-21 16:12:39 -070021romstage-$(CONFIG_COLLECT_TIMESTAMPS) += timestamp.c
Stefan Reinauerfb89dd02012-03-30 16:28:20 -070022romstage-y += compute_ip_checksum.c
23romstage-y += memmove.c
Stefan Reinauer24ef1342011-04-14 22:28:00 +000024
Stefan Reinauer1afe51a2011-10-26 22:11:52 +000025ifneq ($(CONFIG_HAVE_ARCH_MEMSET),y)
Patrick Georgi8463dd92010-09-30 16:55:02 +000026ramstage-y += memset.c
Stefan Reinauer1afe51a2011-10-26 22:11:52 +000027endif
Gabe Black1025f3a2011-09-16 02:18:56 -070028ramstage-y += memchr.c
Stefan Reinauer0054afa2011-10-25 23:43:34 +000029ifneq ($(CONFIG_HAVE_ARCH_MEMCPY),y)
Patrick Georgi8463dd92010-09-30 16:55:02 +000030ramstage-y += memcpy.c
Stefan Reinauer0054afa2011-10-25 23:43:34 +000031endif
Patrick Georgi8463dd92010-09-30 16:55:02 +000032ramstage-y += memcmp.c
33ramstage-y += memmove.c
34ramstage-y += malloc.c
35ramstage-y += delay.c
36ramstage-y += fallback_boot.c
37ramstage-y += compute_ip_checksum.c
38ramstage-y += version.c
39ramstage-y += cbfs.c
40ramstage-y += lzma.c
41#ramstage-y += lzmadecode.c
42ramstage-y += gcc.c
Stefan Reinauer24ef1342011-04-14 22:28:00 +000043ramstage-y += clog2.c
Patrick Georgi8463dd92010-09-30 16:55:02 +000044ramstage-y += cbmem.c
Stefan Reinauer24ef1342011-04-14 22:28:00 +000045ramstage-$(CONFIG_CONSOLE_SERIAL8250) += uart8250.c
Stefan Reinauer4885daa2011-04-26 23:47:04 +000046ramstage-$(CONFIG_CONSOLE_SERIAL8250MEM) += uart8250mem.c
Vadim Bendebury3e316002011-09-30 12:02:18 -070047ramstage-$(CONFIG_CONSOLE_CBMEM) += cbmem_console.c
Stefan Reinauer24ef1342011-04-14 22:28:00 +000048ramstage-$(CONFIG_USBDEBUG) += usbdebug.c
49ramstage-$(CONFIG_BOOTSPLASH) += jpeg.c
Rudolf Marek7f0e9302011-09-02 23:23:41 +020050ramstage-$(CONFIG_TRACE) += trace.c
Vadim Bendebury6f72d692011-09-21 16:12:39 -070051ramstage-$(CONFIG_COLLECT_TIMESTAMPS) += timestamp.c
Stefan Reinauer16ce01b2011-01-28 08:05:54 +000052
Patrick Georgi8463dd92010-09-30 16:55:02 +000053driver-$(CONFIG_CONSOLE_NE2K) += ne2k.c
Patrick Georgi0588d192009-08-12 15:00:51 +000054
Stefan Reinauerfb89dd02012-03-30 16:28:20 -070055ifneq ($(CONFIG_HAVE_ARCH_MEMSET),y)
56smm-y += memset.c
57endif
Stefan Reinauer0054afa2011-10-25 23:43:34 +000058ifneq ($(CONFIG_HAVE_ARCH_MEMCPY),y)
59smm-y += memcpy.c
60endif
Stefan Reinauerfb89dd02012-03-30 16:28:20 -070061smm-y += cbfs.c memcmp.c
Stefan Reinauer24ef1342011-04-14 22:28:00 +000062smm-$(CONFIG_CONSOLE_SERIAL8250) += uart8250.c
Stefan Reinauer4885daa2011-04-26 23:47:04 +000063smm-$(CONFIG_CONSOLE_SERIAL8250MEM) += uart8250mem.c
Sven Schnelle20fc6312011-10-30 09:57:35 +010064smm-$(CONFIG_USBDEBUG) += usbdebug.c
Stefan Reinauere9f32582010-03-29 13:04:13 +000065
Patrick Georgi8463dd92010-09-30 16:55:02 +000066$(obj)/lib/version.ramstage.o : $(obj)/build.h
Stefan Reinauerba9dae22011-07-29 15:34:14 -070067
68OPTION_TABLE_H:=
69ifeq ($(CONFIG_HAVE_OPTION_TABLE),y)
70OPTION_TABLE_H:=$(obj)/option_table.h
71endif
72
73$(obj)/lib/uart8250mem.smm.o : $(OPTION_TABLE_H)
Stefan Reinauer52608712011-08-11 14:51:31 -070074$(obj)/lib/uart8250.smm.o : $(OPTION_TABLE_H)
Stefan Reinauerba9dae22011-07-29 15:34:14 -070075