diff options
| author | Adam Ford <[email protected]> | 2018-02-06 10:18:18 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2018-02-08 12:48:22 -0500 |
| commit | a5a37567c4f7bd6faf85ef4b720f6efce3e8bbbf (patch) | |
| tree | 0f02a585c7f0438cf9088aff857baa8b7d887679 /include/config_fallbacks.h | |
| parent | 99bec1aead5927c54f4364bfe10823a86fe0dad2 (diff) | |
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 <[email protected]>
Reviewed-by: Lukasz Majewski <[email protected]>
[trini: Turn into a choice, add NET_RANDOM_ETHADDR]
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'include/config_fallbacks.h')
| -rw-r--r-- | include/config_fallbacks.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/config_fallbacks.h b/include/config_fallbacks.h index 9695ee7ffb6..c11abe67e59 100644 --- a/include/config_fallbacks.h +++ b/include/config_fallbacks.h @@ -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) |
