summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMark F. Brown <mark.f.brown@intel.com>2011-09-07 18:06:24 -0400
committerPatrick Tjin <pattjin@google.com>2014-07-21 20:22:40 -0700
commit90847a8a794a6eedef1f61daab5a9e3afde33c5a (patch)
tree0da46a3a4531cc7a43d20acca98ce3ced107f741 /Makefile
parentaecaba3b298855b0ce93f94897a0e2b5269639a7 (diff)
downloadbootstub-90847a8a794a6eedef1f61daab5a9e3afde33c5a.tar.gz
SSP: Added SPI UART via SSP5
BZ: 114933 Merrifield uses SPI via SSP rather than a dedicated SPI peripheral Moved volatile definitions to types.h Based off code by Courtney A. Drant Change-Id: I3a8fbe364f2fcf860ac47f431b93868fb7b598d9 Signed-off-by: Mark F. Brown <mark.f.brown@intel.com> Signed-off-by: Courtney A. Drant <courtney.a.drant@intel.com> Reviewed-on: http://android.intel.com:8080/112531 Reviewed-by: Fourdan, Olivier <olivier.fourdan@intel.com> Tested-by: Fourdan, Olivier <olivier.fourdan@intel.com> Reviewed-by: Fert, Laurent <laurent.fert@intel.com> Reviewed-by: cactus <cactus@intel.com> Tested-by: cactus <cactus@intel.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1d0944a..8f3ed29 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-OBJ=bootstub.o spi-uart.o head.o sfi.o e820_bios.o
+OBJ=bootstub.o spi-uart.o head.o sfi.o e820_bios.o ssp-uart.o
CMDLINE_SIZE ?= 0x400
CFLAGS=-m32 -ffreestanding -Wall -DCMDLINE_SIZE=${CMDLINE_SIZE}
CC ?= gcc
@@ -20,6 +20,9 @@ bootstub.o:bootstub.c bootstub.h
spi-uart.o:spi-uart.c spi-uart.h
${CC} $(CFLAGS) -c spi-uart.c
+ssp-uart.o:ssp-uart.c ssp-uart.h
+ ${CC} $(CFLAGS) -c ssp-uart.c
+
sfi.o:sfi.c
${CC} $(CFLAGS) -c sfi.c