[PATCH] bootm: add RISC-V image type

Sascha Hauer sha at pengutronix.de
Mon Mar 15 09:23:38 GMT 2021


On Mon, Mar 15, 2021 at 11:28:03AM +0300, Antony Pavlov wrote:
> Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
> ---
>  include/image.h | 2 ++
>  1 file changed, 2 insertions(+)

Applied, thanks

Sascha

> 
> diff --git a/include/image.h b/include/image.h
> index fa06476845..b593ae30ef 100644
> --- a/include/image.h
> +++ b/include/image.h
> @@ -129,6 +129,8 @@ enum {
>  #define IH_ARCH IH_ARCH_AVR32
>  #elif defined(CONFIG_SANDBOX)
>  #define IH_ARCH IH_ARCH_SANDBOX
> +#elif defined(__riscv)
> +#define IH_ARCH IH_ARCH_RISCV
>  #else
>  #define IH_ARCH IH_ARCH_INVALID
>  #endif
> -- 
> 2.30.1
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list