xref: /openbmc/u-boot/lib/Kconfig (revision 94e3c8c4fd7bfe395fa467973cd647551d6d98c7)
1ed36323fSMasahiro Yamadamenu "Library routines"
2ed36323fSMasahiro Yamada
3b0928da6SMasahiro Yamadaconfig CC_OPTIMIZE_LIBS_FOR_SPEED
4b0928da6SMasahiro Yamada	bool "Optimize libraries for speed"
5b0928da6SMasahiro Yamada	help
6b0928da6SMasahiro Yamada	  Enabling this option will pass "-O2" to gcc when compiling
7b0928da6SMasahiro Yamada	  under "lib" directory.
8b0928da6SMasahiro Yamada
9b0928da6SMasahiro Yamada	  If unsure, say N.
10b0928da6SMasahiro Yamada
1145ccec8fSMasahiro Yamadaconfig HAVE_PRIVATE_LIBGCC
1245ccec8fSMasahiro Yamada	bool
1345ccec8fSMasahiro Yamada
1445ccec8fSMasahiro Yamadaconfig USE_PRIVATE_LIBGCC
1545ccec8fSMasahiro Yamada	bool "Use private libgcc"
1645ccec8fSMasahiro Yamada	depends on HAVE_PRIVATE_LIBGCC
1745ccec8fSMasahiro Yamada	help
1845ccec8fSMasahiro Yamada	  This option allows you to use the built-in libgcc implementation
1945ccec8fSMasahiro Yamada	  of U-boot instead of the one privided by the compiler.
2045ccec8fSMasahiro Yamada	  If unsure, say N.
2145ccec8fSMasahiro Yamada
228c688bc4SMasahiro Yamadaconfig SYS_HZ
238c688bc4SMasahiro Yamada	int
248c688bc4SMasahiro Yamada	default 1000
258c688bc4SMasahiro Yamada	help
268c688bc4SMasahiro Yamada	  The frequency of the timer returned by get_timer().
278c688bc4SMasahiro Yamada	  get_timer() must operate in milliseconds and this option must be
288c688bc4SMasahiro Yamada	  set to 1000.
298c688bc4SMasahiro Yamada
30d9f23c7fSRuchika Guptasource lib/rsa/Kconfig
31c4beb22fSRuchika Gupta
32*94e3c8c4Sgaurav ranamenu "Hashing Support"
33*94e3c8c4Sgaurav rana
34*94e3c8c4Sgaurav ranaconfig SHA1
35*94e3c8c4Sgaurav rana	bool "Enable SHA1 support"
36*94e3c8c4Sgaurav rana	help
37*94e3c8c4Sgaurav rana	  This option enables support of hashing using SHA1 algorithm.
38*94e3c8c4Sgaurav rana	  The hash is calculated in software.
39*94e3c8c4Sgaurav rana	  The SHA1 algorithm produces a 160-bit (20-byte) hash value
40*94e3c8c4Sgaurav rana	  (digest).
41*94e3c8c4Sgaurav rana
42*94e3c8c4Sgaurav ranaconfig SHA256
43*94e3c8c4Sgaurav rana	bool "Enable SHA256 support"
44*94e3c8c4Sgaurav rana	help
45*94e3c8c4Sgaurav rana	  This option enables support of hashing using SHA256 algorithm.
46*94e3c8c4Sgaurav rana	  The hash is calculated in software.
47*94e3c8c4Sgaurav rana	  The SHA256 algorithm produces a 256-bit (32-byte) hash value
48*94e3c8c4Sgaurav rana	  (digest).
49*94e3c8c4Sgaurav rana
50*94e3c8c4Sgaurav ranaconfig SHA_HW_ACCEL
51*94e3c8c4Sgaurav rana	bool "Enable hashing using hardware"
52*94e3c8c4Sgaurav rana	help
53*94e3c8c4Sgaurav rana	  This option enables hardware acceleration
54*94e3c8c4Sgaurav rana	  for SHA1/SHA256 hashing.
55*94e3c8c4Sgaurav rana	  This affects the 'hash' command and also the
56*94e3c8c4Sgaurav rana	  hash_lookup_algo() function.
57*94e3c8c4Sgaurav rana
58*94e3c8c4Sgaurav ranaconfig SHA_PROG_HW_ACCEL
59*94e3c8c4Sgaurav rana	bool "Enable Progressive hashing support using hardware"
60*94e3c8c4Sgaurav rana	depends on SHA_HW_ACCEL
61*94e3c8c4Sgaurav rana	help
62*94e3c8c4Sgaurav rana	  This option enables hardware-acceleration for
63*94e3c8c4Sgaurav rana	  SHA1/SHA256 progressive hashing.
64*94e3c8c4Sgaurav rana	  Data can be streamed in a block at a time and the hashing
65*94e3c8c4Sgaurav rana	  is performed in hardware.
66*94e3c8c4Sgaurav ranaendmenu
67*94e3c8c4Sgaurav rana
68ed36323fSMasahiro Yamadaendmenu
69