serial: Support Frame Check Sequence

According to DSP0253, implementing frame check sequence via
crc-16-ccitt calculation. crc-16-ccitt implementation refer
to RFC1662 Appendix C.

Tested:
Verified on sending/receiving mctp packets with mctp-serial
kernel driver.

Change-Id: I8417d521589e9f40a0ca68596cdcfd061fd919cc
Signed-off-by: John Chung <john.chung@arm.com>
diff --git a/Makefile.am b/Makefile.am
index c48a277..984a5d4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,7 +7,7 @@
 include_HEADERS = libmctp.h
 
 if LIBMCTP_BINDING_serial
-libmctp_la_SOURCES += serial.c
+libmctp_la_SOURCES += serial.c crc-16-ccitt.c
 include_HEADERS += libmctp-serial.h
 endif