* [U-Boot] [PATCH] arm: dra7xx: Move fastboot options to defconfig
@ 2016-09-22 18:52 Sam Protsenko
2016-09-26 19:12 ` Sam Protsenko
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Sam Protsenko @ 2016-09-22 18:52 UTC (permalink / raw)
To: 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 <semen.protsenko@linaro.org>
---
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 <configs/ti_omap5_common.h>
--
2.9.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] arm: dra7xx: Move fastboot options to defconfig
2016-09-22 18:52 [U-Boot] [PATCH] arm: dra7xx: Move fastboot options to defconfig Sam Protsenko
@ 2016-09-26 19:12 ` Sam Protsenko
2016-09-27 3:06 ` Lokesh Vutla
2016-10-08 17:06 ` [U-Boot] " Tom Rini
2 siblings, 0 replies; 4+ messages in thread
From: Sam Protsenko @ 2016-09-26 19:12 UTC (permalink / raw)
To: u-boot
Bump.
On Thu, Sep 22, 2016 at 9:52 PM, Sam Protsenko
<semen.protsenko@linaro.org> wrote:
> Now that fastboot options are available in Kconfig, we can migrate them
> from DRA7 header to corresponding DRA7 defconfigs.
>
> Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
> ---
> 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 <configs/ti_omap5_common.h>
> --
> 2.9.3
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] arm: dra7xx: Move fastboot options to defconfig
2016-09-22 18:52 [U-Boot] [PATCH] arm: dra7xx: Move fastboot options to defconfig Sam Protsenko
2016-09-26 19:12 ` Sam Protsenko
@ 2016-09-27 3:06 ` Lokesh Vutla
2016-10-08 17:06 ` [U-Boot] " Tom Rini
2 siblings, 0 replies; 4+ messages in thread
From: Lokesh Vutla @ 2016-09-27 3:06 UTC (permalink / raw)
To: u-boot
On Friday 23 September 2016 12:22 AM, Sam Protsenko wrote:
> Now that fastboot options are available in Kconfig, we can migrate them
> from DRA7 header to corresponding DRA7 defconfigs.
>
> Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Thanks and regards,
Lokesh
> ---
> 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 <configs/ti_omap5_common.h>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] arm: dra7xx: Move fastboot options to defconfig
2016-09-22 18:52 [U-Boot] [PATCH] arm: dra7xx: Move fastboot options to defconfig Sam Protsenko
2016-09-26 19:12 ` Sam Protsenko
2016-09-27 3:06 ` Lokesh Vutla
@ 2016-10-08 17:06 ` Tom Rini
2 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2016-10-08 17:06 UTC (permalink / raw)
To: u-boot
On Thu, Sep 22, 2016 at 09:52:07PM +0300, Semen Protsenko wrote:
> Now that fastboot options are available in Kconfig, we can migrate them
> from DRA7 header to corresponding DRA7 defconfigs.
>
> Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161008/834c4e9a/attachment.sig>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-10-08 17:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-22 18:52 [U-Boot] [PATCH] arm: dra7xx: Move fastboot options to defconfig Sam Protsenko
2016-09-26 19:12 ` Sam Protsenko
2016-09-27 3:06 ` Lokesh Vutla
2016-10-08 17:06 ` [U-Boot] " Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox