This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push: new f933b1644e boards/risc-v: Remove ref to riscv_internal.h f933b1644e is described below commit f933b1644e9924bf2c83bc45dcdd1236b8f712dc Author: Huang Qi <huang...@xiaomi.com> AuthorDate: Wed Oct 23 20:46:14 2024 +0800 boards/risc-v: Remove ref to riscv_internal.h `riscv_internal.h` is a private chip level header file, and it should not be included in the board files. Signed-off-by: Huang Qi <huang...@xiaomi.com> --- boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_boot.c | 2 -- boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_boot.c | 2 -- boards/risc-v/esp32c3/esp32c3-generic/src/esp32c3_boot.c | 2 -- boards/risc-v/esp32c6/esp32c6-devkitc/src/esp32c6_boot.c | 1 - boards/risc-v/esp32c6/esp32c6-devkitm/src/esp32c6_boot.c | 1 - boards/risc-v/esp32h2/esp32h2-devkit/src/esp32h2_boot.c | 2 -- boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_appinit.c | 1 - 7 files changed, 11 deletions(-) diff --git a/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_boot.c b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_boot.c index 33c8a5d450..6ab7c136f9 100644 --- a/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_boot.c +++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_boot.c @@ -25,8 +25,6 @@ #include <nuttx/config.h> #include <nuttx/board.h> -#include "riscv_internal.h" - /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ diff --git a/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_boot.c b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_boot.c index ccf2a84397..4605b870c7 100644 --- a/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_boot.c +++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_boot.c @@ -24,8 +24,6 @@ #include <nuttx/config.h> -#include "riscv_internal.h" - /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ diff --git a/boards/risc-v/esp32c3/esp32c3-generic/src/esp32c3_boot.c b/boards/risc-v/esp32c3/esp32c3-generic/src/esp32c3_boot.c index c133d101a3..1be97a6819 100644 --- a/boards/risc-v/esp32c3/esp32c3-generic/src/esp32c3_boot.c +++ b/boards/risc-v/esp32c3/esp32c3-generic/src/esp32c3_boot.c @@ -24,8 +24,6 @@ #include <nuttx/config.h> -#include "riscv_internal.h" - /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ diff --git a/boards/risc-v/esp32c6/esp32c6-devkitc/src/esp32c6_boot.c b/boards/risc-v/esp32c6/esp32c6-devkitc/src/esp32c6_boot.c index 60d4022f4e..0d4b0287da 100644 --- a/boards/risc-v/esp32c6/esp32c6-devkitc/src/esp32c6_boot.c +++ b/boards/risc-v/esp32c6/esp32c6-devkitc/src/esp32c6_boot.c @@ -24,7 +24,6 @@ #include <nuttx/config.h> -#include "riscv_internal.h" #include "esp32c6-devkitc.h" /**************************************************************************** diff --git a/boards/risc-v/esp32c6/esp32c6-devkitm/src/esp32c6_boot.c b/boards/risc-v/esp32c6/esp32c6-devkitm/src/esp32c6_boot.c index da643c634c..d4071137fe 100644 --- a/boards/risc-v/esp32c6/esp32c6-devkitm/src/esp32c6_boot.c +++ b/boards/risc-v/esp32c6/esp32c6-devkitm/src/esp32c6_boot.c @@ -24,7 +24,6 @@ #include <nuttx/config.h> -#include "riscv_internal.h" #include "esp32c6-devkitm.h" /**************************************************************************** diff --git a/boards/risc-v/esp32h2/esp32h2-devkit/src/esp32h2_boot.c b/boards/risc-v/esp32h2/esp32h2-devkit/src/esp32h2_boot.c index fa1c5bae28..d0cf03142c 100644 --- a/boards/risc-v/esp32h2/esp32h2-devkit/src/esp32h2_boot.c +++ b/boards/risc-v/esp32h2/esp32h2-devkit/src/esp32h2_boot.c @@ -24,8 +24,6 @@ #include <nuttx/config.h> -#include "riscv_internal.h" - /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ diff --git a/boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_appinit.c b/boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_appinit.c index 786a08d771..e94fde9005 100644 --- a/boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_appinit.c +++ b/boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_appinit.c @@ -40,7 +40,6 @@ #include "qemu_rv_memorymap.h" #include "qemu_rv_rptun.h" -#include "riscv_internal.h" #include "riscv_sbi.h" #include "romfs.h"