
4 Sep
2025
4 Sep
'25
1:04 p.m.
From: Simon Glass <sjg@chromium.org> This should be handled by driver model now. Some tests rely on this happening early, so just disable it for the shared library. Signed-off-by: Simon Glass <sjg@chromium.org> --- common/board_r.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/board_r.c b/common/board_r.c index d60cc7aac70..297fdc29ca9 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -364,6 +364,9 @@ static int initr_flash(void) /* go init the NAND */ static int initr_nand(void) { + if (gd_ulib()) + return 0; + puts("NAND: "); nand_init(); printf("%lu MiB\n", nand_size() / 1024); -- 2.43.0