[PATCH v10 9/9] riscv: sifive: unmatched: Switch to use binman to generate u-boot.itb

Bin Meng bmeng.cn at gmail.com
Thu May 20 03:56:52 CEST 2021


Hi Green,

On Wed, May 19, 2021 at 11:19 PM Green Wan <green.wan at sifive.com> wrote:
>
> Update to use binman instead.
>
> Signed-off-by: Green Wan <green.wan at sifive.com>
> ---
>  arch/riscv/dts/hifive-unmatched-a00-u-boot.dtsi | 1 +
>  board/sifive/unmatched/Kconfig                  | 1 +
>  2 files changed, 2 insertions(+)
>
> diff --git a/arch/riscv/dts/hifive-unmatched-a00-u-boot.dtsi b/arch/riscv/dts/hifive-unmatched-a00-u-boot.dtsi
> index 3dcd2b4987..c5475aa149 100644
> --- a/arch/riscv/dts/hifive-unmatched-a00-u-boot.dtsi
> +++ b/arch/riscv/dts/hifive-unmatched-a00-u-boot.dtsi
> @@ -3,6 +3,7 @@
>   * Copyright (C) 2020-2021 SiFive, Inc
>   */
>
> +#include "binman.dtsi"
>  #include "fu740-c000-u-boot.dtsi"
>  #include "fu740-hifive-unmatched-a00-ddr.dtsi"
>
> diff --git a/board/sifive/unmatched/Kconfig b/board/sifive/unmatched/Kconfig
> index 9e2748ce1e..88b5883cae 100644
> --- a/board/sifive/unmatched/Kconfig
> +++ b/board/sifive/unmatched/Kconfig
> @@ -28,6 +28,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
>         select SIFIVE_FU740
>         select SUPPORT_SPL
>         select RESET_SIFIVE
> +       select BINMAN
>         imply CMD_DHCP
>         imply CMD_EXT2
>         imply CMD_EXT4

I wonder if without this patch, does previous patches build?

If not, you need to squash this patch into previous patches to keep
bisectablility.

Regards,
Bin


More information about the U-Boot mailing list