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
> ---
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=0x1\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 0x8020
> +#define DFUARGS \
> + "dfu_bufsiz=0x1\0" \
> + DFU_ALT_INFO_RAM
> +#endif
> +#endif
>
> #include
>
>
--
Regards
Vignesh
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot