pussuw commented on code in PR #12816:
URL: https://github.com/apache/nuttx/pull/12816#discussion_r1699594062
##########
boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_appinit.c:
##########
@@ -209,7 +208,7 @@ void board_early_initialize(void)
#ifdef CONFIG_BOARDCTL_POWEROFF
int board_power_off(int status)
{
-#ifdef CONFIG_BUILD_KERNEL
Review Comment:
Suggestion, let the ecall go through and do "reset" in nsbi code. One option
might be to define reset simply as
```
reset:
tail __start
```
Maybe you can think of something more elegant still :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]