SAMA5 demo configuration: TRNG and /dev/random are now enabled

This commit is contained in:
Gregory Nutt 2013-10-20 12:16:17 -06:00
parent c4f68441f6
commit d001b133eb
2 changed files with 12 additions and 1 deletions

View File

@ -1290,6 +1290,15 @@ Configurations
nsh> cat /dev/kbda nsh> cat /dev/kbda
10. Support SAMA5D3 TRNG peripheral is enabled so that it provides
/dev/random. The following configuration settings are relevant:
System Type:
CONFIG_SAMA5_TRNG=y : Enable the TRNG peripheral
Drivers (automatically selected):
CONFIG_DEV_RANDOM=y : Enable /dev/random
The following features are *not* enabled in the demo configuration but The following features are *not* enabled in the demo configuration but
might be of some use to you: might be of some use to you:

View File

@ -170,7 +170,7 @@ CONFIG_SAMA5_UDPHS=y
# CONFIG_SAMA5_SHA is not set # CONFIG_SAMA5_SHA is not set
# CONFIG_SAMA5_AES is not set # CONFIG_SAMA5_AES is not set
# CONFIG_SAMA5_TDES is not set # CONFIG_SAMA5_TDES is not set
# CONFIG_SAMA5_TRNG is not set CONFIG_SAMA5_TRNG=y
# CONFIG_SAMA5_ARM is not set # CONFIG_SAMA5_ARM is not set
# CONFIG_SAMA5_FUSE is not set # CONFIG_SAMA5_FUSE is not set
CONFIG_SAMA5_MPDDRC=y CONFIG_SAMA5_MPDDRC=y
@ -385,6 +385,7 @@ CONFIG_PTHREAD_STACK_DEFAULT=2048
CONFIG_DISABLE_POLL=y CONFIG_DISABLE_POLL=y
CONFIG_DEV_NULL=y CONFIG_DEV_NULL=y
# CONFIG_DEV_ZERO is not set # CONFIG_DEV_ZERO is not set
CONFIG_DEV_RANDOM=y
# CONFIG_LOOP is not set # CONFIG_LOOP is not set
# CONFIG_RAMDISK is not set # CONFIG_RAMDISK is not set
# CONFIG_CAN is not set # CONFIG_CAN is not set
@ -685,6 +686,7 @@ CONFIG_EXAMPLES_NSH_CXXINITIALIZE=y
# CONFIG_EXAMPLES_PIPE is not set # CONFIG_EXAMPLES_PIPE is not set
# CONFIG_EXAMPLES_POSIXSPAWN is not set # CONFIG_EXAMPLES_POSIXSPAWN is not set
# CONFIG_EXAMPLES_QENCODER is not set # CONFIG_EXAMPLES_QENCODER is not set
# CONFIG_EXAMPLES_RANDOM is not set
# CONFIG_EXAMPLES_RGMP is not set # CONFIG_EXAMPLES_RGMP is not set
# CONFIG_EXAMPLES_ROMFS is not set # CONFIG_EXAMPLES_ROMFS is not set
# CONFIG_EXAMPLES_SENDMAIL is not set # CONFIG_EXAMPLES_SENDMAIL is not set