mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 09:42:22 +02:00
common: Convert *.c/h from UTF-8 to ASCII enconfing
Convert UTF-8 chars to ASCII in cases where make sense. No Copyright or names are converted. Signed-off-by: Michal Simek <michal.simek@amd.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Marek Behún <kabel@kernel.org>
This commit is contained in:
@@ -74,7 +74,7 @@ struct stm32_rng_plat {
|
||||
* Extracts from the STM32 RNG specification when RNG supports CONDRST.
|
||||
*
|
||||
* When a noise source (or seed) error occurs, the RNG stops generating
|
||||
* random numbers and sets to “1” both SEIS and SECS bits to indicate
|
||||
* random numbers and sets to "1" both SEIS and SECS bits to indicate
|
||||
* that a seed error occurred. (...)
|
||||
*
|
||||
* 1. Software reset by writing CONDRST at 1 and at 0 (see bitfield
|
||||
@@ -127,12 +127,12 @@ static int stm32_rng_conceal_seed_error_cond_reset(struct stm32_rng_plat *pdata)
|
||||
* Extracts from the STM32 RNG specification, when CONDRST is not supported
|
||||
*
|
||||
* When a noise source (or seed) error occurs, the RNG stops generating
|
||||
* random numbers and sets to “1” both SEIS and SECS bits to indicate
|
||||
* random numbers and sets to "1" both SEIS and SECS bits to indicate
|
||||
* that a seed error occurred. (...)
|
||||
*
|
||||
* The following sequence shall be used to fully recover from a seed
|
||||
* error after the RNG initialization:
|
||||
* 1. Clear the SEIS bit by writing it to “0”.
|
||||
* 1. Clear the SEIS bit by writing it to "0".
|
||||
* 2. Read out 12 words from the RNG_DR register, and discard each of
|
||||
* them in order to clean the pipeline.
|
||||
* 3. Confirm that SEIS is still cleared. Random number generation is
|
||||
|
Reference in New Issue
Block a user