diff options
author | Daniel Schwierzeck <daniel.schwierzeck@googlemail.com> | 2011-02-03 14:17:08 +0100 |
---|---|---|
committer | Shinya Kuribayashi <skuribay@pobox.com> | 2011-02-05 17:15:05 +0900 |
commit | 383015b2cc509266da01444bb4b117cf2aeb591a (patch) | |
tree | cf9c2a4b3a6ff34a6d978c2f79a7d44cdff44953 /include/configs/bf537-pnav.h | |
parent | f69b980d108b5f15ca7dd3f4284d5a66488c3625 (diff) | |
download | u-boot-imx-383015b2cc509266da01444bb4b117cf2aeb591a.zip u-boot-imx-383015b2cc509266da01444bb4b117cf2aeb591a.tar.gz u-boot-imx-383015b2cc509266da01444bb4b117cf2aeb591a.tar.bz2 |
MIPS: VCT: Fix enabling of unwanted options if networking or USB support are disabled
Some VCT boards lacks the support of networking or USB.
Additionally that support is disabled in small image
configurations.
If CONFIG_CMD_NET should not used the CONFIG_CMD_NFS option
have to be disabled too. Otherwise the linker fails with
unresolved symbols.
If CONFIG_VCT_SMALL_IMAGE is set than CONFIG_CMD_NET and
CONFIG_CMD_USB are disabled at the end of vct.h.
This is not adequate because CONFIG_CMD_USB enables additional
options and the linker fails again with unresolved symbols.
This patch adds an early check against CONFIG_VCT_SMALL_IMAGE
so the additional options are only enabled if they are really
needed.
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Acked-by: Stefan Roese <sr@denx.de>
Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
Diffstat (limited to 'include/configs/bf537-pnav.h')
0 files changed, 0 insertions, 0 deletions