
30 Dec
2019
30 Dec
'19
10:19 a.m.
I am having problems with this patch.
Problem is "reset"command fails (for my board) with:
=> reset resetting ... ### ERROR ### Please RESET the board ###
I traced down problem to "drivers/sysreset/sysreset-uclass.c" requesting "uclass_first_device(UCLASS_SYSRESET, &dev)", while "drivers/reset/reset-mips.c" defines:
static const struct udevice_id mtmips_reset_ids[] = { { .compatible = "mediatek,mtmips-reset" }, { } };
U_BOOT_DRIVER(mtmips_reset) = { .name = "mtmips-reset", .id = UCLASS_RESET,
... so UCLASS_SYSRESET list is empty.
What am I doing wrong? TiA! Mauro