summaryrefslogtreecommitdiff
path: root/test/test_config.h
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2017-06-21 14:40:23 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-06-28 23:23:41 -0700
commit2e3b42610b1239e8643d58396b7471b73e3989f6 (patch)
treef5a4152e4e4a565d9feb55a6a992698e0e5a9fe7 /test/test_config.h
parent031dccad78b9d4df6b970bc36ef2f9d469239708 (diff)
downloadchrome-ec-2e3b42610b1239e8643d58396b7471b73e3989f6.tar.gz
common: Add base32 encoding
Base32 encoding is used to turn the RMA reset binary challenge/response into less-typo-prone text, at 5 bits per character. BUG=b:37952913 BRANCH=none TEST=make runtests Change-Id: I474750a20204ba353cea1e91982aa03e8071c0c2 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/544177 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'test/test_config.h')
-rw-r--r--test/test_config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_config.h b/test/test_config.h
index bbcd1172ee..e01218bc10 100644
--- a/test/test_config.h
+++ b/test/test_config.h
@@ -18,6 +18,10 @@
#undef CONFIG_VBOOT_HASH
#undef CONFIG_USB_PD_LOGGING
+#ifdef TEST_BASE32
+#define CONFIG_BASE32
+#endif
+
#ifdef TEST_BKLIGHT_LID
#define CONFIG_BACKLIGHT_LID
#endif