]> git.baikalelectronics.ru Git - uboot.git/commit
Revert "riscv: sifive: fu540: Add gpio-restart support"
authorTom Rini <trini@konsulko.com>
Mon, 6 Jul 2020 21:57:14 +0000 (17:57 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 6 Jul 2020 21:57:47 +0000 (17:57 -0400)
commit7a9bd25b94f275f430d0057eaec66f54f90d20b1
treed6c1b4dbfd53300572def29313304381afaeb863
parentc69f2930eb57dad7d8829d347e293a4d789cb57d
Revert "riscv: sifive: fu540: Add gpio-restart support"

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 966560b3d362208b90c0dbbd3c243f8e709be3c8.

Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Anup Patel <anup.patel@wdc.com>
Cc: Atish Patra <atish.patra@wdc.com>
Cc: Bin Meng <bin.meng@windriver.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
board/sifive/fu540/Kconfig