]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
kirkwood: remove get_random_hex() and MD5 dependency
authorAndre Przywara <andre.przywara@arm.com>
Wed, 15 Mar 2017 01:19:04 +0000 (01:19 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 17 Mar 2017 13:09:20 +0000 (09:09 -0400)
Commit 19a5944fcd62 ("mvgbe: remove setting of ethaddr within the
driver") removed the usage of get_random_hex() from the mvgbe driver
about six years ago. However the prototype of that function survived
till today in some kirkwood header file.
Remove that prototype and the CONFIG_MD5 dependency triggered by that.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/mach-kirkwood/include/mach/config.h
arch/arm/mach-kirkwood/include/mach/cpu.h

index 446457fd812f0a1867e81c3cba8cc04b4559edb2..b786df0aaf616633810cb9dad1f428ff5492a4d8 100644 (file)
@@ -24,7 +24,6 @@
 #endif /* CONFIG_KW88F6281 */
 
 #include <asm/arch/soc.h>
-#define CONFIG_MD5     /* get_random_hex on krikwood needs MD5 support */
 #define CONFIG_KIRKWOOD_EGIGA_INIT     /* Enable GbePort0/1 for kernel */
 #define CONFIG_KIRKWOOD_RGMII_PAD_1V8  /* Set RGMII Pad voltage to 1.8V */
 #define CONFIG_KIRKWOOD_PCIE_INIT       /* Enable PCIE Port0 for kernel */
index 926d347110f8265680171cd12f6bdc1302404b52..ab704d9afc9082953beb0ab77f522d9c8f094bb9 100644 (file)
@@ -139,7 +139,6 @@ struct kwgpio_registers {
 /*
  * functions
  */
-unsigned char get_random_hex(void);
 unsigned int mvebu_sdram_bar(enum memory_bank bank);
 unsigned int mvebu_sdram_bs(enum memory_bank bank);
 void mvebu_sdram_size_adjust(enum memory_bank bank);