
15 Jan
2023
15 Jan
'23
6:19 p.m.
在 2022-10-14星期五的 11:05 +0800,Icenowy Zheng写道:
Signed-off-by: Icenowy Zheng uwu@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;