Rename arch/arm/src/a1x/chip to arch/arm/src/a1x/hardware.

This commit is contained in:
Gregory Nutt 2019-05-24 15:29:12 -06:00
parent 88d2a12e06
commit 9a19e48e38
16 changed files with 47 additions and 47 deletions

View File

@ -41,7 +41,7 @@
****************************************************************************/
#include <nuttx/config.h>
#include "chip/a1x_intc.h"
#include "hardware/a1x_intc.h"
/****************************************************************************
* Pre-processor Definitions

View File

@ -48,7 +48,7 @@
#include "up_arch.h"
#include "a1x_config.h"
#include "chip/a1x_uart.h"
#include "hardware/a1x_uart.h"
#include "a1x_pio.h"
/****************************************************************************

View File

@ -53,7 +53,7 @@
#include "chip.h"
#include "a1x_pio.h"
#include "chip/a1x_pio.h"
#include "hardware/a1x_pio.h"
/****************************************************************************
* Pre-processor Definitions

View File

@ -45,7 +45,7 @@
#include <stdint.h>
#include <stdbool.h>
#include "chip/a1x_pio.h"
#include "hardware/a1x_pio.h"
/************************************************************************************
* Pre-processor Definitions

View File

@ -62,7 +62,7 @@
#include "up_internal.h"
#include "chip.h"
#include "chip/a1x_uart.h"
#include "hardware/a1x_uart.h"
#include "a1x_pio.h"
#include "a1x_serial.h"

View File

@ -43,7 +43,7 @@
#include <nuttx/config.h>
#include <arch/board/board.h>
#include "chip/a1x_uart.h"
#include "hardware/a1x_uart.h"
#include "a1x_config.h"
#include "a1x_pio.h"

View File

@ -49,7 +49,7 @@
#include <arch/board/board.h>
#include "up_arch.h"
#include "chip/a1x_timer.h"
#include "hardware/a1x_timer.h"
/****************************************************************************
* Pre-processor Definitions

View File

@ -42,7 +42,7 @@
#include <nuttx/config.h>
#include "chip/a1x_memorymap.h"
#include "hardware/a1x_memorymap.h"
/****************************************************************************
* Pre-processor Definitions

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/arm/src/a1x/a10_memorymap.h
* arch/arm/src/a1x/hardware/a10_memorymap.h
*
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_SRC_A1X_CHIP_A10_MEMORYMAP_H
#define __ARCH_ARM_SRC_A1X_CHIP_A10_MEMORYMAP_H
#ifndef __ARCH_ARM_SRC_A1X_HARDWARE_A10_MEMORYMAP_H
#define __ARCH_ARM_SRC_A1X_HARDWARE_A10_MEMORYMAP_H
/************************************************************************************
* Included Files
@ -615,4 +615,4 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_ARM_SRC_A1X_CHIP_A10_MEMORYMAP_H */
#endif /* __ARCH_ARM_SRC_A1X_HARDWARE_A10_MEMORYMAP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/arm/src/a1x/chip/a10_piocfg.h
* arch/arm/src/a1x/hardware/a10_piocfg.h
*
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,15 +33,15 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_SRC_A1X_CHIP_A10_PIOCFG_H
#define __ARCH_ARM_SRC_A1X_CHIP_A10_PIOCFG_H
#ifndef __ARCH_ARM_SRC_A1X_HARDWARE_A10_PIOCFG_H
#define __ARCH_ARM_SRC_A1X_HARDWARE_A10_PIOCFG_H
/************************************************************************************
* Included Files
************************************************************************************/
#include <nuttx/config.h>
#include "chip/a1x_memorymap.h"
#include "hardware/a1x_memorymap.h"
/************************************************************************************
* Pre-processor Definitions
@ -609,4 +609,4 @@
#define PIO_UART7_TX_1 (PIO_PERIPH3 | PIO_PORT_PIOI | PIO_PIN20)
#define PIO_UART7_TX_2 (PIO_PERIPH3 | PIO_PORT_PIOA | PIO_PIN14)
#endif /* __ARCH_ARM_SRC_A1X_CHIP_A10_PIOCFG_H */
#endif /* __ARCH_ARM_SRC_A1X_HARDWARE_A10_PIOCFG_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/arm/src/a1x/chip/a1x_intc.h
* arch/arm/src/a1x/hardware/a1x_intc.h
*
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,15 +33,15 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_SRC_A1X_CHIP_A1X_INTC_H
#define __ARCH_ARM_SRC_A1X_CHIP_A1X_INTC_H
#ifndef __ARCH_ARM_SRC_A1X_HARDWARE_A1X_INTC_H
#define __ARCH_ARM_SRC_A1X_HARDWARE_A1X_INTC_H
/************************************************************************************
* Included Files
************************************************************************************/
#include <nuttx/config.h>
#include "chip/a1x_memorymap.h"
#include "hardware/a1x_memorymap.h"
/************************************************************************************
* Pre-processor Definitions
@ -203,4 +203,4 @@
#define INTC_PRIO_MASK(n) (3 << INTC_PRIO_SHIFT(n))
# define INTC_PRIO(n,p) ((uint32_t)(p) << INTC_PRIO_SHIFT(n))
#endif /* __ARCH_ARM_SRC_A1X_CHIP_A1X_INTC_H */
#endif /* __ARCH_ARM_SRC_A1X_HARDWARE_A1X_INTC_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/arm/src/a1x/chip/a1x_memorymap.h
* arch/arm/src/a1x/hardware/a1x_memorymap.h
*
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_SRC_A1X_CHIP_A1X_MEMORYMAP_H
#define __ARCH_ARM_SRC_A1X_CHIP_A1X_MEMORYMAP_H
#ifndef __ARCH_ARM_SRC_A1X_HARDWARE_A1X_MEMORYMAP_H
#define __ARCH_ARM_SRC_A1X_HARDWARE_A1X_MEMORYMAP_H
/************************************************************************************
* Included Files
@ -44,9 +44,9 @@
#include <arch/a1x/chip.h>
#if defined(CONFIG_ARCH_CHIP_A10)
# include "chip/a10_memorymap.h"
# include "hardware/a10_memorymap.h"
#else
# error Unrecognized A1X architecture
#endif
#endif /* __ARCH_ARM_SRC_A1X_CHIP_A1X_MEMORYMAP_H */
#endif /* __ARCH_ARM_SRC_A1X_HARDWARE_A1X_MEMORYMAP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/arm/src/a1x/chip/a1x_pio.h
* arch/arm/src/a1x/hardware/a1x_pio.h
*
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,15 +33,15 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_SRC_A1X_CHIP_A1X_PIO_H
#define __ARCH_ARM_SRC_A1X_CHIP_A1X_PIO_H
#ifndef __ARCH_ARM_SRC_A1X_HARDWARE_A1X_PIO_H
#define __ARCH_ARM_SRC_A1X_HARDWARE_A1X_PIO_H
/************************************************************************************
* Included Files
************************************************************************************/
#include <nuttx/config.h>
#include "chip/a1x_memorymap.h"
#include "hardware/a1x_memorymap.h"
/************************************************************************************
* Pre-processor Definitions
@ -217,4 +217,4 @@
/* SDRAM Pad Pull Register */
/* REVISIT: Missing register bit definitions */
#endif /* __ARCH_ARM_SRC_A1X_CHIP_A1X_PIO_H */
#endif /* __ARCH_ARM_SRC_A1X_HARDWARE_A1X_PIO_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/arm/src/a1x/chip/a1x_piocfg.h
* arch/arm/src/a1x/hardware/a1x_piocfg.h
*
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_SRC_A1X_CHIP_A1X_PIOCFG_H
#define __ARCH_ARM_SRC_A1X_CHIP_A1X_PIOCFG_H
#ifndef __ARCH_ARM_SRC_A1X_HARDWARE_A1X_PIOCFG_H
#define __ARCH_ARM_SRC_A1X_HARDWARE_A1X_PIOCFG_H
/************************************************************************************
* Included Files
@ -44,9 +44,9 @@
#include <arch/a1x/chip.h>
#if defined(CONFIG_ARCH_CHIP_A10)
# include "chip/a10_piocfg.h"
# include "hardware/a10_piocfg.h"
#else
# error Unrecognized A1X architecture
#endif
#endif /* __ARCH_ARM_SRC_A1X_CHIP_A1X_PIOCFG_H */
#endif /* __ARCH_ARM_SRC_A1X_HARDWARE_A1X_PIOCFG_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/arm/src/a1x/chip/a1x_timer.h
* arch/arm/src/a1x/hardware/a1x_timer.h
*
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,15 +33,15 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_SRC_A1X_CHIP_A1X_TIMER_H
#define __ARCH_ARM_SRC_A1X_CHIP_A1X_TIMER_H
#ifndef __ARCH_ARM_SRC_A1X_HARDWARE_A1X_TIMER_H
#define __ARCH_ARM_SRC_A1X_HARDWARE_A1X_TIMER_H
/************************************************************************************
* Included Files
************************************************************************************/
#include <nuttx/config.h>
#include "chip/a1x_memorymap.h"
#include "hardware/a1x_memorymap.h"
/************************************************************************************
* Pre-processor Definitions
@ -376,4 +376,4 @@
#define CPU_CFG_L2DCACHE_INVEN (1 << 0) /* Bit 0: Enable L2 data cache invalidation at reset */
#define CPU_CFG_L1DCACHE_INVAEN (1 << 1) /* Bit 1: Enable L1 data cache invalidation at reset */
#endif /* __ARCH_ARM_SRC_A1X_CHIP_A1X_TIMER_H */
#endif /* __ARCH_ARM_SRC_A1X_HARDWARE_A1X_TIMER_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/arm/src/a1x/chip/a1x_uart.h
* arch/arm/src/a1x/hardware/a1x_uart.h
*
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,15 +33,15 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_SRC_A1X_CHIP_A1X_UART_H
#define __ARCH_ARM_SRC_A1X_CHIP_A1X_UART_H
#ifndef __ARCH_ARM_SRC_A1X_HARDWARE_A1X_UART_H
#define __ARCH_ARM_SRC_A1X_HARDWARE_A1X_UART_H
/************************************************************************************
* Included Files
************************************************************************************/
#include <nuttx/config.h>
#include "chip/a1x_memorymap.h"
#include "hardware/a1x_memorymap.h"
/************************************************************************************
* Pre-processor Definitions
@ -357,4 +357,4 @@
#define UART_HALT_SIR_TX_INVERT (1 << 4) /* Bit 4: SIR Transmit Pulse Polarity Invert */
#define UART_HALT_SIR_RX_INVERT (1 << 5) /* Bit 5: SIR Receiver Pulse Polarity Invert */
#endif /* __ARCH_ARM_SRC_A1X_CHIP_A1X_UART_H */
#endif /* __ARCH_ARM_SRC_A1X_HARDWARE_A1X_UART_H */