mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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)
|
||||
|
Reference in New Issue
Block a user