From 9b3156c6f2a283f5d1f28c062b2a7bf6bbe23779 Mon Sep 17 00:00:00 2001 From: Kyungmin Park Date: Wed, 24 Feb 2010 11:39:06 +0900 Subject: [PATCH] Add CRC16 configuration flags Signed-off-by: Kyungmin Park --- include/config_defaults.h | 1 + include/configs/s5pc1xx_universal.h | 2 ++ lib_generic/Makefile | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/include/config_defaults.h b/include/config_defaults.h index 0337163..19f19c7 100644 --- a/include/config_defaults.h +++ b/include/config_defaults.h @@ -16,5 +16,6 @@ #define CONFIG_GZIP 1 #define CONFIG_ZLIB 1 +#define CONFIG_CRC16 1 #endif diff --git a/include/configs/s5pc1xx_universal.h b/include/configs/s5pc1xx_universal.h index eba56b7..a1f58b7 100644 --- a/include/configs/s5pc1xx_universal.h +++ b/include/configs/s5pc1xx_universal.h @@ -121,6 +121,8 @@ #define CONFIG_CMD_PMIC #define CONFIG_CMD_DEVICE_POWER +#undef CONFIG_CRC16 + #define CONFIG_SYS_64BIT_VSPRINTF 1 #define CONFIG_BOOTDELAY 1 diff --git a/lib_generic/Makefile b/lib_generic/Makefile index c45f07c..a0883ea 100644 --- a/lib_generic/Makefile +++ b/lib_generic/Makefile @@ -32,7 +32,7 @@ COBJS-$(CONFIG_BZIP2) += bzlib_decompress.o COBJS-$(CONFIG_BZIP2) += bzlib_randtable.o COBJS-$(CONFIG_BZIP2) += bzlib_huffman.o COBJS-$(CONFIG_USB_TTY) += circbuf.o -COBJS-y += crc16.o +COBJS-$(CONFIG_CRC16) += crc16.o COBJS-y += crc32.o COBJS-y += ctype.o COBJS-y += display_options.o -- 2.7.4