* [U-Boot] [PATCH] configs: am57xx_evm: define CONFIG_SPL_LOAD_FIT_ADDRESS for SPL-DFU
@ 2019-02-08 17:01 Bin Liu
2019-02-20 1:57 ` [U-Boot] " Tom Rini
2019-02-22 5:19 ` [U-Boot] [PATCH] " Vignesh R
0 siblings, 2 replies; 3+ messages in thread
From: Bin Liu @ 2019-02-08 17:01 UTC (permalink / raw)
To: u-boot
Define CONFIG_SPL_LOAD_FIT_ADDRESS to enable SPL-DFU for am57x platform.
Signed-off-by: Bin Liu <b-liu@ti.com>
---
include/configs/am57xx_evm.h | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h
index d61fdf9f7a36..70aa4250605b 100644
--- a/include/configs/am57xx_evm.h
+++ b/include/configs/am57xx_evm.h
@@ -35,11 +35,22 @@
#define CONFIG_SYS_OMAP_ABE_SYSCK
+#ifdef CONFIG_SPL_DFU
+#ifndef CONFIG_SPL_BUILD
#define DFUARGS \
"dfu_bufsiz=0x10000\0" \
DFU_ALT_INFO_MMC \
DFU_ALT_INFO_EMMC \
DFU_ALT_INFO_RAM \
+ DFU_ALT_INFO_QSPI
+#else
+#undef CONFIG_CMD_BOOTD
+#define CONFIG_SPL_LOAD_FIT_ADDRESS 0x80200000
+#define DFUARGS \
+ "dfu_bufsiz=0x10000\0" \
+ DFU_ALT_INFO_RAM
+#endif
+#endif
#include <configs/ti_omap5_common.h>
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] configs: am57xx_evm: define CONFIG_SPL_LOAD_FIT_ADDRESS for SPL-DFU
2019-02-08 17:01 [U-Boot] [PATCH] configs: am57xx_evm: define CONFIG_SPL_LOAD_FIT_ADDRESS for SPL-DFU Bin Liu
@ 2019-02-20 1:57 ` Tom Rini
2019-02-22 5:19 ` [U-Boot] [PATCH] " Vignesh R
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2019-02-20 1:57 UTC (permalink / raw)
To: u-boot
On Fri, Feb 08, 2019 at 11:01:37AM -0600, Bin Liu wrote:
> Define CONFIG_SPL_LOAD_FIT_ADDRESS to enable SPL-DFU for am57x platform.
>
> Signed-off-by: Bin Liu <b-liu@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: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190219/7c1b46ca/attachment.sig>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] configs: am57xx_evm: define CONFIG_SPL_LOAD_FIT_ADDRESS for SPL-DFU
2019-02-08 17:01 [U-Boot] [PATCH] configs: am57xx_evm: define CONFIG_SPL_LOAD_FIT_ADDRESS for SPL-DFU Bin Liu
2019-02-20 1:57 ` [U-Boot] " Tom Rini
@ 2019-02-22 5:19 ` Vignesh R
1 sibling, 0 replies; 3+ messages in thread
From: Vignesh R @ 2019-02-22 5:19 UTC (permalink / raw)
To: u-boot
Hi Bin,
On 08/02/19 10:31 PM, Bin Liu wrote:
> Define CONFIG_SPL_LOAD_FIT_ADDRESS to enable SPL-DFU for am57x platform.
>
> Signed-off-by: Bin Liu <b-liu@ti.com>
> ---
With this patch DFU args are no longer available at U-Boot prompt
> include/configs/am57xx_evm.h | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h
> index d61fdf9f7a36..70aa4250605b 100644
> --- a/include/configs/am57xx_evm.h
> +++ b/include/configs/am57xx_evm.h
> @@ -35,11 +35,22 @@
>
> #define CONFIG_SYS_OMAP_ABE_SYSCK
>
> +#ifdef CONFIG_SPL_DFU
This should be CONFIG_IS_ENABLED(DFU) so that DFUARGS defined when
CONFIG_DFU=y in U-Boot.
> +#ifndef CONFIG_SPL_BUILD
> #define DFUARGS \
> "dfu_bufsiz=0x10000\0" \
> DFU_ALT_INFO_MMC \
> DFU_ALT_INFO_EMMC \
> DFU_ALT_INFO_RAM \
> + DFU_ALT_INFO_QSPI
> +#else
> +#undef CONFIG_CMD_BOOTD
> +#define CONFIG_SPL_LOAD_FIT_ADDRESS 0x80200000
> +#define DFUARGS \
> + "dfu_bufsiz=0x10000\0" \
> + DFU_ALT_INFO_RAM
> +#endif
> +#endif
>
> #include <configs/ti_omap5_common.h>
>
>
--
Regards
Vignesh
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-02-22 5:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-08 17:01 [U-Boot] [PATCH] configs: am57xx_evm: define CONFIG_SPL_LOAD_FIT_ADDRESS for SPL-DFU Bin Liu
2019-02-20 1:57 ` [U-Boot] " Tom Rini
2019-02-22 5:19 ` [U-Boot] [PATCH] " Vignesh R
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.