diff options
author | Gabe Black <gabeblack@chromium.org> | 2011-10-25 21:57:17 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@chromium.org> | 2011-10-28 14:06:30 -0700 |
commit | 0bac184a1f7de474fe10baa28af47c903bbb80d4 (patch) | |
tree | b93afab29a4602b0f712a66d1cf0e261ed47e9be /include/configs | |
parent | 9cc618b104c14f2f123cac6369d1b984e047ed94 (diff) |
Add a high level option to the coreboot config to control network support
We aren't currently planning to have network support in production firmware. If
we need it at some point, we can easily turn that support back on.
BUG=chrome-os-partner:6585
TEST=Built and booted on Stumpy
Change-Id: Iad265bb2bbae5360135eaa8577cc6dfde95045f9
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: https://gerrit.chromium.org/gerrit/10754
Commit-Ready: Gabe Black <gabeblack@chromium.org>
Reviewed-by: Gabe Black <gabeblack@chromium.org>
Tested-by: Gabe Black <gabeblack@chromium.org>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/coreboot.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h index 90a9a4283b2..920df0b75b9 100644 --- a/include/configs/coreboot.h +++ b/include/configs/coreboot.h @@ -35,6 +35,7 @@ #define CONFIG_SHOW_BOOT_PROGRESS #define BUILD_CMD_LINE_STUFF 0 #define BUILD_IDE_STUFF 0 +#define BUILD_NETWORK_STUFF 0 /* FDT support */ #define CONFIG_OF_LIBFDT /* Device tree support */ @@ -255,14 +256,19 @@ #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 12 #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 #define CONFIG_USB_STORAGE + +#if BUILD_NETWORK_STUFF #define CONFIG_USB_HOST_ETHER #define CONFIG_USB_ETHER_ASIX #define CONFIG_USB_ETHER_SMSC95XX +#endif /*----------------------------------------------------------------------- * Network device support */ +#if BUILD_NETWORK_STUFF #define CONFIG_NET_MULTI +#endif /*----------------------------------------------------------------------- * Command line configuration. @@ -307,7 +313,12 @@ #define CONFIG_CMD_SPI #define CONFIG_CMD_USB #define CONFIG_CMD_SCSI + +#if BUILD_NETWORK_STUFF #define CONFIG_CMD_NET +#else +#undef CONFIG_CMD_NET +#endif /* Board specific late time init */ #define CONFIG_MISC_INIT_R |