arch: Fix style warnings regarding included header files

This commit fixes style warnings regarding including header files
outside the `Included Files` section.
This commit is contained in:
Tiago Medicci Serrano 2024-03-01 15:42:22 -03:00 committed by Xiang Xiao
parent 658dd94863
commit dcad39a962
6 changed files with 52 additions and 52 deletions

View File

@ -28,6 +28,15 @@
#include <nuttx/config.h>
#include <arch/a1x/chip.h>
/* A1X Virtual (mapped) Memory Map
*
* board_memorymap.h contains special mappings that are needed when a ROM
* memory map is used. It is included in this odd location because it
* depends on some the virtual address definitions provided above.
*/
#include <arch/board/board_memorymap.h>
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
@ -279,15 +288,6 @@
#define A1X_DDR_MMUFLAGS MMU_MEMFLAGS
#define A1X_BROM_MMUFLAGS MMU_ROMFLAGS
/* A1X Virtual (mapped) Memory Map
*
* board_memorymap.h contains special mappings that are needed when a ROM
* memory map is used. It is included in this odd location because it
* depends on some the virtual address definitions provided above.
*/
#include <arch/board/board_memorymap.h>
/* A1X Virtual (mapped) Memory Map. These are the mappings that will
* be created if the page table lies in RAM. If the platform has another,
* read-only, pre-initialized page table (perhaps in ROM), then the board.h

View File

@ -28,6 +28,15 @@
#include <nuttx/config.h>
#include <arch/am335x/chip.h>
/* AM335X Virtual (mapped) Memory Map
*
* board_memorymap.h contains special mappings that are needed when a ROM
* memory map is used. It is included in this odd location because it
* depends on some the virtual address definitions provided above.
*/
#include <arch/board/board_memorymap.h>
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
@ -250,15 +259,6 @@
#define AM335X_PERIPH_MMUFLAGS MMU_IOFLAGS
#define AM335X_DDR_MMUFLAGS MMU_MEMFLAGS
/* AM335X Virtual (mapped) Memory Map
*
* board_memorymap.h contains special mappings that are needed when a ROM
* memory map is used. It is included in this odd location because it
* depends on some the virtual address definitions provided above.
*/
#include <arch/board/board_memorymap.h>
/* AM335X Virtual (mapped) Memory Map. These are the mappings that will
* be created if the page table lies in RAM. If the platform has another,
* read-only, pre-initialized page table (perhaps in ROM), then the board.h

View File

@ -28,6 +28,13 @@
#include <nuttx/config.h>
#include "chip.h"
/* board_memorymap.h contains special mappings that are needed when a ROM
* memory map is used. It is included in this odd location because it
* depends on some the virtual address definitions provided above.
*/
#include <arch/board/board_memorymap.h>
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
@ -185,13 +192,6 @@
#define LPC31_INTC_MMUFLAGS MMU_IOFLAGS
#define LPC31_NAND_MMUFLAGS MMU_IOFLAGS
/* board_memorymap.h contains special mappings that are needed when a ROM
* memory map is used. It is included in this odd location because it
* depends on some the virtual address definitions provided above.
*/
#include <arch/board/board_memorymap.h>
/* LPC31XX Virtual (mapped) Memory Map. These are the mappings that will
* be created if the page table lies in RAM. If the platform has another,
* read-only, pre-initialized page table (perhaps in ROM), then the board.h

View File

@ -28,6 +28,15 @@
#include <nuttx/config.h>
#include <arch/sama5/chip.h>
/* SAMA5 Virtual (mapped) Memory Map
*
* board_memorymap.h contains special mappings that are needed when a ROM
* memory map is used. It is included in this odd location because it
* depends on some the virtual address definitions provided above.
*/
#include <arch/board/board_memorymap.h>
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
@ -373,15 +382,6 @@
#define SAM_PERIPHB_MMUFLAGS MMU_IOFLAGS
#define SAM_PERIPHC_MMUFLAGS MMU_IOFLAGS
/* SAMA5 Virtual (mapped) Memory Map
*
* board_memorymap.h contains special mappings that are needed when a ROM
* memory map is used. It is included in this odd location because it
* depends on some the virtual address definitions provided above.
*/
#include <arch/board/board_memorymap.h>
/* SAMA5 Virtual (mapped) Memory Map. These are the mappings that will
* be created if the page table lies in RAM. If the platform has another,
* read-only, pre-initialized page table (perhaps in ROM), then the

View File

@ -28,6 +28,15 @@
#include <nuttx/config.h>
#include <arch/sama5/chip.h>
/* SAMA5 Virtual (mapped) Memory Map
*
* board_memorymap.h contains special mappings that are needed when a ROM
* memory map is used. It is included in this odd location because it
* depends on some the virtual address definitions provided above.
*/
#include <arch/board/board_memorymap.h>
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
@ -311,15 +320,6 @@
#define SAM_PERIPHB_MMUFLAGS MMU_IOFLAGS
#define SAM_SYSC_MMUFLAGS MMU_IOFLAGS
/* SAMA5 Virtual (mapped) Memory Map
*
* board_memorymap.h contains special mappings that are needed when a ROM
* memory map is used. It is included in this odd location because it
* depends on some the virtual address definitions provided above.
*/
#include <arch/board/board_memorymap.h>
/* SAMA5 Virtual (mapped) Memory Map. These are the mappings that will
* be created if the page table lies in RAM. If the platform has another,
* read-only, pre-initialized page table (perhaps in ROM), then the board.h

View File

@ -28,6 +28,15 @@
#include <nuttx/config.h>
#include <arch/sama5/chip.h>
/* SAMA5 Virtual (mapped) Memory Map
*
* board_memorymap.h contains special mappings that are needed when a ROM
* memory map is used. It is included in this odd location because it
* depends on some the virtual address definitions provided above.
*/
#include <arch/board/board_memorymap.h>
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
@ -311,15 +320,6 @@
#define SAM_PERIPHB_MMUFLAGS MMU_IOFLAGS
#define SAM_PERIPHC_MMUFLAGS MMU_IOFLAGS
/* SAMA5 Virtual (mapped) Memory Map
*
* board_memorymap.h contains special mappings that are needed when a ROM
* memory map is used. It is included in this odd location because it
* depends on some the virtual address definitions provided above.
*/
#include <arch/board/board_memorymap.h>
/* SAMA5 Virtual (mapped) Memory Map. These are the mappings that will
* be created if the page table lies in RAM. If the platform has another,
* read-only, pre-initialized page table (perhaps in ROM), then the board.h