From patchwork Mon Jul 6 22:00:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 240840 List-Id: U-Boot discussion From: trini at konsulko.com (Tom Rini) Date: Mon, 6 Jul 2020 18:00:51 -0400 Subject: [PATCH] Revert "riscv: sifive: fu540: Add gpio-restart support" Message-ID: <20200706220051.26388-1-trini@konsulko.com> As part of merging the next branch in to master, the sifive_fu540 will fail to link: riscv64-linux-ld.bfd: lib/built-in.o: in function `panic_finish': lib/panic.c:28: undefined reference to `do_reset' make[2]: *** [spl/u-boot-spl] Error 1 make[1]: *** [spl/u-boot-spl] Error 2 make: *** [sub-make] Error 2 And while the "fix the build" option of enabling CONFIG_SPL_SYSRESET may solve the issue, it is unclear that it is the correct path exactly. For the moment, I am reverting this commit and take a "revert the revert" and proper fix as soon as it's available. This reverts commit cdae446461191714d692190da1ad4344398adc57. Cc: Paul Walmsley Cc: Palmer Dabbelt Cc: Anup Patel Cc: Atish Patra Cc: Bin Meng Signed-off-by: Tom Rini --- board/sifive/fu540/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/board/sifive/fu540/Kconfig b/board/sifive/fu540/Kconfig index 6f6568196561..86193d7668be 100644 --- a/board/sifive/fu540/Kconfig +++ b/board/sifive/fu540/Kconfig @@ -65,7 +65,5 @@ config BOARD_SPECIFIC_OPTIONS # dummy imply SMP imply MISC imply SIFIVE_OTP - imply SYSRESET - imply SYSRESET_GPIO endif