summaryrefslogtreecommitdiff
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-07-02 21:36:17 +0300
committerTom Rini <trini@konsulko.com>2021-07-28 21:27:54 +0300
commit1a46cb6c7e1860c8dfdfadbb2e3ac708edc5d388 (patch)
tree8f51a51f51e3d275c1950b5b002961ccc744185f /lib/Kconfig
parent6e3c6544c72b0b801b30b10ce2234b4e9fc2ae08 (diff)
downloadu-boot-1a46cb6c7e1860c8dfdfadbb2e3ac708edc5d388.tar.xz
lib: Create a new Kconfig option for charset conversion
Rather than looking at two KConfig options in the Makefile, create a new Kconfig option for compiling lib/charset.c Enable it for UFS also, which needs this support. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r--lib/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index ad4d75e0a4..fdcf7ea405 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -40,6 +40,14 @@ config CC_OPTIMIZE_LIBS_FOR_SPEED
If unsure, say N.
+config CHARSET
+ bool
+ default y if UT_UNICODE || EFI_LOADER || UFS
+ help
+ Enables support for various conversions between different
+ character sets, such as between unicode representations and
+ different 'code pages'.
+
config DYNAMIC_CRC_TABLE
bool "Enable Dynamic tables for CRC"
help