summaryrefslogtreecommitdiff
path: root/include/configs/sandbox.h
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2013-08-16 07:59:11 -0700
committerSimon Glass <sjg@chromium.org>2013-09-03 13:30:05 -0600
commit3153e915b493a8d832e9260723c579d2544e5dc8 (patch)
tree42fa03a41dd8cb5d8028aebc002fcf3717c4fc2e /include/configs/sandbox.h
parent628af1790ac3231455c1ae4a4e43b67136799fa2 (diff)
sandbox: add compression tests
This adds the "test_compression" command when building the sandbox. This tests the existing compression and decompression routines for simple sanity and for buffer overflow conditions. Signed-off-by: Kees Cook <keescook@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs/sandbox.h')
-rw-r--r--include/configs/sandbox.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index af3d6ad4e79..40270303845 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -109,4 +109,9 @@
"stdout=serial\0" \
"stderr=serial\0"
+#define CONFIG_GZIP_COMPRESSED
+#define CONFIG_BZIP2
+#define CONFIG_LZO
+#define CONFIG_LZMA
+
#endif