summaryrefslogtreecommitdiff
path: root/configs/am335x_evm_norboot_defconfig
diff options
context:
space:
mode:
authorAlexandru Gagniuc <alex.g@adaptrum.com>2017-02-07 03:17:32 (GMT)
committerTom Rini <trini@konsulko.com>2017-07-12 02:49:38 (GMT)
commit17a21e206a29d714d6da7b8583be6f041ba35d7e (patch)
treeaacde91892eacaf05fd58446292f94fb48a9e296 /configs/am335x_evm_norboot_defconfig
parentab86dc7948778cb087fa8cf9949bd53441097cf8 (diff)
downloadu-boot-fsl-qoriq-17a21e206a29d714d6da7b8583be6f041ba35d7e.tar.xz
configs: am335x_evm: Enable FASTBOOT based on kconfig
When CONFIG_CMD_FASTBOOT or CONFIG_USB_FUNCTION_FASTBOOT are defined in am335x_evm.h, a dependency on g_dnl.c is created. This in turn creates a dependency on having USB gadget enabled. As a result we can't create configs with USB gadget disabled. Since these CONFIG_ variables are now part of kconfig, move them to the board defconfigs, and out of am335x_evm.h. This both preserves current defaults, and allows creating configs with USB gadget off. Signed-off-by: Alexandru Gagniuc <alex.g@adaptrum.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'configs/am335x_evm_norboot_defconfig')
-rw-r--r--configs/am335x_evm_norboot_defconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/am335x_evm_norboot_defconfig b/configs/am335x_evm_norboot_defconfig
index 2f96627..7e80c56 100644
--- a/configs/am335x_evm_norboot_defconfig
+++ b/configs/am335x_evm_norboot_defconfig
@@ -10,6 +10,10 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y
CONFIG_VERSION_VARIABLE=y
CONFIG_ARCH_MISC_INIT=y
CONFIG_BOARD_EARLY_INIT_F=y
+CONFIG_FASTBOOT=y
+CONFIG_USB_FUNCTION_FASTBOOT=y
+CONFIG_FASTBOOT_BUF_ADDR=0x81000000
+CONFIG_FASTBOOT_BUF_SIZE=0x07000000
# CONFIG_CMD_IMLS is not set
# CONFIG_CMD_SETEXPR is not set
CONFIG_DFU_MMC=y