summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2018-02-06 10:18:18 -0600
committerTom Rini <trini@konsulko.com>2018-02-08 12:48:22 -0500
commita5a37567c4f7bd6faf85ef4b720f6efce3e8bbbf (patch)
tree0f02a585c7f0438cf9088aff857baa8b7d887679 /include/configs
parent99bec1aead5927c54f4364bfe10823a86fe0dad2 (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 <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 'include/configs')
-rw-r--r--include/configs/ds414.h4
-rw-r--r--include/configs/odroid.h1
-rw-r--r--include/configs/thunderx_88xx.h1
-rw-r--r--include/configs/trats.h1
-rw-r--r--include/configs/trats2.h1
5 files changed, 0 insertions, 8 deletions
diff --git a/include/configs/ds414.h b/include/configs/ds414.h
index c840c935b2..9bd0be1d22 100644
--- a/include/configs/ds414.h
+++ b/include/configs/ds414.h
@@ -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
diff --git a/include/configs/odroid.h b/include/configs/odroid.h
index 60ed013959..697e79898f 100644
--- a/include/configs/odroid.h
+++ b/include/configs/odroid.h
@@ -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
diff --git a/include/configs/thunderx_88xx.h b/include/configs/thunderx_88xx.h
index 34940efb41..1f0b9d4f65 100644
--- a/include/configs/thunderx_88xx.h
+++ b/include/configs/thunderx_88xx.h
@@ -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)
diff --git a/include/configs/trats.h b/include/configs/trats.h
index b97efc21cd..465eed0a5c 100644
--- a/include/configs/trats.h
+++ b/include/configs/trats.h
@@ -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
diff --git a/include/configs/trats2.h b/include/configs/trats2.h
index 871accf791..b9bf918fb0 100644
--- a/include/configs/trats2.h
+++ b/include/configs/trats2.h
@@ -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