From patchwork Thu Sep 22 18:52:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 673638 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3sg5Fy1f00z9sQw for ; Fri, 23 Sep 2016 04:52:22 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b=dWbPpNuX; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E76A0A7669; Thu, 22 Sep 2016 20:52:19 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VTzwVwynDS0g; Thu, 22 Sep 2016 20:52:19 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0F8A9A7663; Thu, 22 Sep 2016 20:52:19 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9EB8BA7663 for ; Thu, 22 Sep 2016 20:52:13 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GacH6hStaXpM for ; Thu, 22 Sep 2016 20:52:13 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-lf0-f42.google.com (mail-lf0-f42.google.com [209.85.215.42]) by theia.denx.de (Postfix) with ESMTPS id 21C2EA765D for ; Thu, 22 Sep 2016 20:52:09 +0200 (CEST) Received: by mail-lf0-f42.google.com with SMTP id g62so75763113lfe.3 for ; Thu, 22 Sep 2016 11:52:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=vm6+dTUGS4ZYcMPwwx4ZHb6fZVrnmqmBftE76LMqm0k=; b=dWbPpNuXyPMrCB3t4wlWU0PzUl1GsC9S2BXRgTlywgWQK2SYbGVT0rbWvmSii9BUy2 +rxxjh7DR5iUGiA4kHcdxH1RrT6xa8HmESmKDr3lO8WyW5+8vD4zdYhsLL5yCK0UWt3F 97EkP8bXETz0GYY2Q2Ki0LbhLAGlkRXzLrwyo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=vm6+dTUGS4ZYcMPwwx4ZHb6fZVrnmqmBftE76LMqm0k=; b=VuFm3svlsaDnYfKOicD/UGSTBy5jhYFWavJZ6msH+g9qRQwME8BdKhiXcOSV2kqdhZ bHPgPrXUQcK2Rb7mSCKi581JtqwqtezjF1CDld7zTB828QI2N5JxxM7d6dTrTjiOA4Le X58e9N+5siJpRayJnFDRtzvQGvTx72+FLYDG/H92bLUXU3LlFohRdCW0jhwf5PqxaihH oJ5N+22VxDPuJPPIfZt1puw4wolqz51KxVQwYB28BICPUMuuP9TO5qFjCg97ntbLrONs srrtu3vBuyEK/1JHgXeEmwput+DDlMo4D7fJPeWQf4cSeF/a2dzopNwdmzzBrCKLVvF3 w7Vg== X-Gm-Message-State: AE9vXwPm3VvYdgExX/6Pax9sDdledd0r7TsVtGeH6cEVJ6pMAL+KZSpb4nP2VmZTRAB4q5Nh X-Received: by 10.46.32.200 with SMTP id g69mr1386212lji.8.1474570328377; Thu, 22 Sep 2016 11:52:08 -0700 (PDT) Received: from localhost ([195.238.92.132]) by smtp.gmail.com with ESMTPSA id s125sm566782lja.14.2016.09.22.11.52.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 22 Sep 2016 11:52:07 -0700 (PDT) From: Sam Protsenko To: u-boot@lists.denx.de Date: Thu, 22 Sep 2016 21:52:07 +0300 Message-Id: <20160922185207.4261-1-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.9.3 Cc: Praneeth Bajjuri , Tom Rini Subject: [U-Boot] [PATCH] arm: dra7xx: Move fastboot options to defconfig X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Now that fastboot options are available in Kconfig, we can migrate them from DRA7 header to corresponding DRA7 defconfigs. Signed-off-by: Sam Protsenko Reviewed-by: Lokesh Vutla --- configs/dra7xx_evm_defconfig | 8 ++++++++ configs/dra7xx_hs_evm_defconfig | 8 ++++++++ include/configs/dra7xx_evm.h | 18 +++++++++--------- 3 files changed, 25 insertions(+), 9 deletions(-) diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig index 64df490..321ac45 100644 --- a/configs/dra7xx_evm_defconfig +++ b/configs/dra7xx_evm_defconfig @@ -14,6 +14,14 @@ CONFIG_SPL=y CONFIG_SPL_STACK_R=y CONFIG_SPL_DMA_SUPPORT=y CONFIG_HUSH_PARSER=y +CONFIG_FASTBOOT=y +CONFIG_USB_FUNCTION_FASTBOOT=y +CONFIG_CMD_FASTBOOT=y +CONFIG_ANDROID_BOOT_IMAGE=y +CONFIG_FASTBOOT_BUF_ADDR=0x82000000 +CONFIG_FASTBOOT_BUF_SIZE=0x2f000000 +CONFIG_FASTBOOT_FLASH=y +CONFIG_FASTBOOT_FLASH_MMC_DEV=1 CONFIG_CMD_BOOTZ=y # CONFIG_CMD_IMLS is not set CONFIG_CMD_ASKENV=y diff --git a/configs/dra7xx_hs_evm_defconfig b/configs/dra7xx_hs_evm_defconfig index 5fdc2b7..c0485e0 100644 --- a/configs/dra7xx_hs_evm_defconfig +++ b/configs/dra7xx_hs_evm_defconfig @@ -18,6 +18,14 @@ CONFIG_SPL=y CONFIG_SPL_STACK_R=y CONFIG_SPL_DMA_SUPPORT=y CONFIG_HUSH_PARSER=y +CONFIG_FASTBOOT=y +CONFIG_USB_FUNCTION_FASTBOOT=y +CONFIG_CMD_FASTBOOT=y +CONFIG_ANDROID_BOOT_IMAGE=y +CONFIG_FASTBOOT_BUF_ADDR=0x82000000 +CONFIG_FASTBOOT_BUF_SIZE=0x2f000000 +CONFIG_FASTBOOT_FLASH=y +CONFIG_FASTBOOT_FLASH_MMC_DEV=1 CONFIG_CMD_BOOTZ=y # CONFIG_CMD_IMLS is not set CONFIG_CMD_ASKENV=y diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h index 194804c..273374a 100644 --- a/include/configs/dra7xx_evm.h +++ b/include/configs/dra7xx_evm.h @@ -121,15 +121,15 @@ DFU_ALT_INFO_EMMC \ DFU_ALT_INFO_RAM \ DFU_ALT_INFO_QSPI - -/* Fastboot */ -#define CONFIG_USB_FUNCTION_FASTBOOT -#define CONFIG_CMD_FASTBOOT -#define CONFIG_ANDROID_BOOT_IMAGE -#define CONFIG_FASTBOOT_BUF_ADDR CONFIG_SYS_LOAD_ADDR -#define CONFIG_FASTBOOT_BUF_SIZE 0x2F000000 -#define CONFIG_FASTBOOT_FLASH -#define CONFIG_FASTBOOT_FLASH_MMC_DEV 1 +#else +/* Discard fastboot in SPL build, to spare some space */ +#undef CONFIG_FASTBOOT +#undef CONFIG_USB_FUNCTION_FASTBOOT +#undef CONFIG_CMD_FASTBOOT +#undef CONFIG_ANDROID_BOOT_IMAGE +#undef CONFIG_FASTBOOT_BUF_ADDR +#undef CONFIG_FASTBOOT_BUF_SIZE +#undef CONFIG_FASTBOOT_FLASH #endif #include