diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-06-11 19:16:43 +0900 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-06-11 08:28:35 -0400 |
commit | 3850dbe833facceb5b3d57a6a0ee93532b445aaa (patch) | |
tree | 2d2addfcd8872facdfb1f6e27670e111e590ddaf /configs/ibf-dsp561_defconfig | |
parent | 0592115d47e114851c8bff621970430998666582 (diff) | |
download | u-boot-imx-3850dbe833facceb5b3d57a6a0ee93532b445aaa.zip u-boot-imx-3850dbe833facceb5b3d57a6a0ee93532b445aaa.tar.gz u-boot-imx-3850dbe833facceb5b3d57a6a0ee93532b445aaa.tar.bz2 |
blackfin: fix undefined reference to srand and rand
Commit 9ba9e85f3f1c (net: Fix NET_RANDOM_ETHADDR dependencies)
accidentally dropped CONFIG_LIB_RAND defines for 14 Blackfin boards.
Prior to that commit, those boards defined CONFIG_LIB_RAND, but not
CONFIG_NET_RANDOM_ETHADDR. So, commit 9ba9e85f3f1c should not have
touched them, but in fact it ripped CONFIG_LIB_RAND off from all the
header files, which caused undefined reference to srand and rand.
CONFIG_LIB_RAND=y must be revived for such boards.
BTW, this commit indeed makes it better, but even with this fix,
three boards (bf533-stamp, bf538f-ezkit, cm-bf548) still can not
build due to region 'ram' overflowed error. This was cause by
commit 6eed3786c68c (net: Move the CMD_NET config to defconfigs)
because CMD_NET selects NET, and NET selects REGEX. Eventually,
some boards were newly enabled with CONFIG_REGEX, increasing the
memory footprint. A patch is expected to fix the build error.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'configs/ibf-dsp561_defconfig')
-rw-r--r-- | configs/ibf-dsp561_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/ibf-dsp561_defconfig b/configs/ibf-dsp561_defconfig index eb80798..15f24bb 100644 --- a/configs/ibf-dsp561_defconfig +++ b/configs/ibf-dsp561_defconfig @@ -1,3 +1,4 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_IBF_DSP561=y CONFIG_CMD_NET=y +CONFIG_LIB_RAND=y |