在 2022-10-14星期五的 11:05 +0800,Icenowy Zheng写道:
> Signed-off-by: Icenowy Zheng <u...@icenowy.me>

By the way should we have some better way to handle the placement of
environments?

> ---
>  board/sunxi/board.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/board/sunxi/board.c b/board/sunxi/board.c
> index 21a2407e06..f4138573d4 100644
> --- a/board/sunxi/board.c
> +++ b/board/sunxi/board.c
> @@ -133,6 +133,7 @@ void i2c_init_board(void)
>   */
>  enum env_location env_get_location(enum env_operation op, int prio)
>  {
> +       return prio ? ENVL_UNKNOWN : ENVL_UBI;
>         if (prio > 1)
>                 return ENVL_UNKNOWN;
>  

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/9089677fb289e93aa51089189ac02e249e4638a1.camel%40icenowy.me.

Reply via email to