Convert CONFIG LIB_HW_RAND to Kconfig
config_fallbacks.h had some logic to automatically select LIB_RAND if RANDOM_UUID or CMD_UUID were set if LIB_HW_RAND wasn't already selected. By migrating LIB_HW_RAND to Kconfig, we can remove this check from config_fallbacks.h and put it into Kconfig Signed-off-by: Adam Ford <aford173@gmail.com> Reviewed-by: Lukasz Majewski <lukma@denx.de> [trini: Turn into a choice, add NET_RANDOM_ETHADDR] Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -54,13 +54,6 @@
|
||||
#define CONFIG_LIB_UUID
|
||||
#endif
|
||||
|
||||
#if (defined(CONFIG_RANDOM_UUID) || \
|
||||
defined(CONFIG_CMD_UUID)) && \
|
||||
(!defined(CONFIG_LIB_RAND) && \
|
||||
!defined(CONFIG_LIB_HW_RAND))
|
||||
#define CONFIG_LIB_RAND
|
||||
#endif
|
||||
|
||||
/* Console I/O Buffer Size */
|
||||
#ifndef CONFIG_SYS_CBSIZE
|
||||
#if defined(CONFIG_CMD_KGDB)
|
||||
|
||||
@@ -112,10 +112,6 @@
|
||||
/* DS414 bus width is 32bits */
|
||||
#define CONFIG_DDR_32BIT
|
||||
|
||||
/* Use random ethernet address if not configured */
|
||||
#define CONFIG_LIB_RAND
|
||||
#define CONFIG_NET_RANDOM_ETHADDR
|
||||
|
||||
/* Default Environment */
|
||||
#define CONFIG_BOOTCOMMAND "sf read ${loadaddr} 0xd0000 0x700000; bootm"
|
||||
#define CONFIG_LOADADDR 0x80000
|
||||
|
||||
@@ -177,7 +177,6 @@
|
||||
|
||||
/* Security subsystem - enable hw_rand() */
|
||||
#define CONFIG_EXYNOS_ACE_SHA
|
||||
#define CONFIG_LIB_HW_RAND
|
||||
|
||||
/* USB */
|
||||
#define CONFIG_USB_EHCI_EXYNOS
|
||||
|
||||
@@ -77,7 +77,6 @@
|
||||
#define CONFIG_CMDLINE_EDITING 1
|
||||
#define CONFIG_SYS_MAXARGS 64 /* max command args */
|
||||
#define CONFIG_NO_RELOCATION 1
|
||||
#define CONFIG_LIB_RAND
|
||||
#define PLL_REF_CLK 50000000 /* 50 MHz */
|
||||
#define NS_PER_REF_CLK_TICK (1000000000/PLL_REF_CLK)
|
||||
|
||||
|
||||
@@ -171,7 +171,6 @@
|
||||
|
||||
/* Security subsystem - enable hw_rand() */
|
||||
#define CONFIG_EXYNOS_ACE_SHA
|
||||
#define CONFIG_LIB_HW_RAND
|
||||
|
||||
/* Common misc for Samsung */
|
||||
#define CONFIG_MISC_COMMON
|
||||
|
||||
@@ -153,7 +153,6 @@
|
||||
|
||||
/* Security subsystem - enable hw_rand() */
|
||||
#define CONFIG_EXYNOS_ACE_SHA
|
||||
#define CONFIG_LIB_HW_RAND
|
||||
|
||||
/* Common misc for Samsung */
|
||||
#define CONFIG_MISC_COMMON
|
||||
|
||||
Reference in New Issue
Block a user