]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/common.h
karo: tx6: fix broken calculation of MTDPARTS parameters
[karo-tx-uboot.git] / include / common.h
index 4ad17eafb9b89a15975b0b8945a1b70c198d8d88..57e20d8b2d792de3659d96f87f95eb9197b513ae 100644 (file)
@@ -775,6 +775,7 @@ char *      strmhz(char *buf, unsigned long hz);
 /* lib/rand.c */
 #if defined(CONFIG_RANDOM_MACADDR) || \
        defined(CONFIG_BOOTP_RANDOM_DELAY) || \
+       defined(CONFIG_BOOTP_RANDOM_ID) || \
        defined(CONFIG_CMD_LINK_LOCAL)
 #define RAND_MAX -1U
 void srand(unsigned int seed);