diff options
author | Adam Ford <aford173@gmail.com> | 2018-02-06 10:18:18 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-02-08 12:48:22 -0500 |
commit | a5a37567c4f7bd6faf85ef4b720f6efce3e8bbbf (patch) | |
tree | 0f02a585c7f0438cf9088aff857baa8b7d887679 /configs | |
parent | 99bec1aead5927c54f4364bfe10823a86fe0dad2 (diff) | |
download | u-boot-a5a37567c4f7bd6faf85ef4b720f6efce3e8bbbf.tar.gz u-boot-a5a37567c4f7bd6faf85ef4b720f6efce3e8bbbf.tar.xz u-boot-a5a37567c4f7bd6faf85ef4b720f6efce3e8bbbf.zip |
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>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/ds414_defconfig | 1 | ||||
-rw-r--r-- | configs/odroid_defconfig | 1 | ||||
-rw-r--r-- | configs/trats2_defconfig | 1 | ||||
-rw-r--r-- | configs/trats_defconfig | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/configs/ds414_defconfig b/configs/ds414_defconfig index eb3fe759e8..842b4c82ac 100644 --- a/configs/ds414_defconfig +++ b/configs/ds414_defconfig @@ -32,6 +32,7 @@ CONFIG_CMD_FAT=y CONFIG_CMD_JFFS2=y CONFIG_CMD_UBI=y CONFIG_ISO_PARTITION=y +CONFIG_NET_RANDOM_ETHADDR=y CONFIG_SPL_OF_TRANSLATE=y # CONFIG_MMC is not set CONFIG_SPI_FLASH=y diff --git a/configs/odroid_defconfig b/configs/odroid_defconfig index 30889c0109..6ed55da9ea 100644 --- a/configs/odroid_defconfig +++ b/configs/odroid_defconfig @@ -62,4 +62,5 @@ CONFIG_USB_GADGET_DOWNLOAD=y CONFIG_USB_FUNCTION_THOR=y CONFIG_USB_HOST_ETHER=y CONFIG_USB_ETHER_SMSC95XX=y +CONFIG_LIB_HW_RAND=y CONFIG_ERRNO_STR=y diff --git a/configs/trats2_defconfig b/configs/trats2_defconfig index e28cad597f..97248d52be 100644 --- a/configs/trats2_defconfig +++ b/configs/trats2_defconfig @@ -54,3 +54,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0x6601 CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_USB_GADGET_DOWNLOAD=y CONFIG_USB_FUNCTION_THOR=y +CONFIG_LIB_HW_RAND=y diff --git a/configs/trats_defconfig b/configs/trats_defconfig index 6ae39c1873..4c492211e6 100644 --- a/configs/trats_defconfig +++ b/configs/trats_defconfig @@ -53,3 +53,4 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0x6601 CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_USB_GADGET_DOWNLOAD=y CONFIG_USB_FUNCTION_THOR=y +CONFIG_LIB_HW_RAND=y |