From 697b0d5b619b966f0b9a1bacc85540485624ff01 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 13 May 2014 14:14:57 -0600 Subject: [PATCH] correct some columnar alignment and spacing --- arch/arm/include/sam34/chip.h | 780 +++++++++++++++++----------------- 1 file changed, 390 insertions(+), 390 deletions(-) diff --git a/arch/arm/include/sam34/chip.h b/arch/arm/include/sam34/chip.h index bd023387be..fbb6690a36 100644 --- a/arch/arm/include/sam34/chip.h +++ b/arch/arm/include/sam34/chip.h @@ -82,127 +82,127 @@ /* Internal memory */ -# define SAM34_FLASH_SIZE (256*1024) /* 256KB */ -# define SAM34_SRAM0_SIZE (32*1024) /* 32KB */ -# define SAM34_SRAM1_SIZE (16*1024) /* 16KB */ -# define SAM34_NFCSRAM_SIZE (4*1024) /* 4KB */ +# define SAM34_FLASH_SIZE (256*1024) /* 256KB */ +# define SAM34_SRAM0_SIZE (32*1024) /* 32KB */ +# define SAM34_SRAM1_SIZE (16*1024) /* 16KB */ +# define SAM34_NFCSRAM_SIZE (4*1024) /* 4KB */ /* Peripherals */ -# define SAM34_NDMACHAN 4 /* 4 DMA Channels */ -# define SAM34_NPDCCHAN 17 /* 17 PDC Channels */ -# define SAM34_NMCI2 1 /* 1 memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 1 /* One USB high speed device */ -# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ -# define SAM34_NUDPFS 0 /* No USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 4 /* 4 DMA Channels */ +# define SAM34_NPDCCHAN 17 /* 17 PDC Channels */ +# define SAM34_NMCI2 1 /* 1 memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 1 /* One USB high speed device */ +# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ +# define SAM34_NUDPFS 0 /* No USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ #elif defined(CONFIG_ARCH_CHIP_ATSAM3U2E) /* Internal memory */ -# define SAM34_FLASH_SIZE (128*1024) /* 128KB */ -# define SAM34_SRAM0_SIZE (16*1024) /* 16KB */ -# define SAM34_SRAM1_SIZE (16*1024) /* 16KB */ -# define SAM34_NFCSRAM_SIZE (4*1024) /* 4KB */ +# define SAM34_FLASH_SIZE (128*1024) /* 128KB */ +# define SAM34_SRAM0_SIZE (16*1024) /* 16KB */ +# define SAM34_SRAM1_SIZE (16*1024) /* 16KB */ +# define SAM34_NFCSRAM_SIZE (4*1024) /* 4KB */ /* Peripherals */ -# define SAM34_NDMACHAN 4 /* 4 DMA Channels */ -# define SAM34_NPDCCHAN 17 /* 17 PDC Channels */ -# define SAM34_NMCI2 1 /* 1 memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 1 /* One USB high speed device */ -# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ -# define SAM34_NUDPFS 0 /* No USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 4 /* 4 DMA Channels */ +# define SAM34_NPDCCHAN 17 /* 17 PDC Channels */ +# define SAM34_NMCI2 1 /* 1 memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 1 /* One USB high speed device */ +# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ +# define SAM34_NUDPFS 0 /* No USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ #elif defined(CONFIG_ARCH_CHIP_ATSAM3U1E) /* Internal memory */ -# define SAM34_FLASH_SIZE (64*1024) /* 64KB */ -# define SAM34_SRAM0_SIZE (16*1024) /* 16KB */ -# define SAM34_SRAM1_SIZE 0 /* No SRAM1 */ -# define SAM34_NFCSRAM_SIZE (4*1024) /* 4KB */ +# define SAM34_FLASH_SIZE (64*1024) /* 64KB */ +# define SAM34_SRAM0_SIZE (16*1024) /* 16KB */ +# define SAM34_SRAM1_SIZE 0 /* No SRAM1 */ +# define SAM34_NFCSRAM_SIZE (4*1024) /* 4KB */ /* Peripherals */ -# define SAM34_NDMACHAN 4 /* 4 DMA Channels */ -# define SAM34_NPDCCHAN 17 /* 17 PDC Channels */ -# define SAM34_NMCI2 1 /* 1 memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 1 /* One USB high speed device */ -# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ -# define SAM34_NUDPFS 0 /* No USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 4 /* 4 DMA Channels */ +# define SAM34_NPDCCHAN 17 /* 17 PDC Channels */ +# define SAM34_NMCI2 1 /* 1 memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 1 /* One USB high speed device */ +# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ +# define SAM34_NUDPFS 0 /* No USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ #elif defined(CONFIG_ARCH_CHIP_ATSAM3U4C) /* Internal memory */ -# define SAM34_FLASH_SIZE (256*1024) /* 256KB */ -# define SAM34_SRAM0_SIZE (32*1024) /* 32KB */ -# define SAM34_SRAM1_SIZE (16*1024) /* 16KB */ -# define SAM34_NFCSRAM_SIZE (4*1024) /* 4KB */ +# define SAM34_FLASH_SIZE (256*1024) /* 256KB */ +# define SAM34_SRAM0_SIZE (32*1024) /* 32KB */ +# define SAM34_SRAM1_SIZE (16*1024) /* 16KB */ +# define SAM34_NFCSRAM_SIZE (4*1024) /* 4KB */ /* Peripherals */ -# define SAM34_NDMACHAN 4 /* 4 DMA Channels */ -# define SAM34_NPDCCHAN 17 /* 17 PDC Channels */ -# define SAM34_NMCI2 1 /* 1 memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 1 /* One USB high speed device */ -# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ -# define SAM34_NUDPFS 0 /* No USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 4 /* 4 DMA Channels */ +# define SAM34_NPDCCHAN 17 /* 17 PDC Channels */ +# define SAM34_NMCI2 1 /* 1 memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 1 /* One USB high speed device */ +# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ +# define SAM34_NUDPFS 0 /* No USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ #elif defined(CONFIG_ARCH_CHIP_ATSAM3U2C) /* Internal memory */ -# define SAM34_FLASH_SIZE (128*1024) /* 128KB */ -# define SAM34_SRAM0_SIZE (16*1024) /* 16KB */ -# define SAM34_SRAM1_SIZE (16*1024) /* 16KB */ -# define SAM34_NFCSRAM_SIZE (4*1024) /* 4KB */ +# define SAM34_FLASH_SIZE (128*1024) /* 128KB */ +# define SAM34_SRAM0_SIZE (16*1024) /* 16KB */ +# define SAM34_SRAM1_SIZE (16*1024) /* 16KB */ +# define SAM34_NFCSRAM_SIZE (4*1024) /* 4KB */ /* Peripherals */ -# define SAM34_NDMACHAN 4 /* 4 DMA Channels */ -# define SAM34_NPDCCHAN 17 /* 17 PDC Channels */ -# define SAM34_NMCI2 1 /* 1 memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 1 /* One USB high speed device */ -# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ -# define SAM34_NUDPFS 0 /* No USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 4 /* 4 DMA Channels */ +# define SAM34_NPDCCHAN 17 /* 17 PDC Channels */ +# define SAM34_NMCI2 1 /* 1 memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 1 /* One USB high speed device */ +# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ +# define SAM34_NUDPFS 0 /* No USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ #elif defined(CONFIG_ARCH_CHIP_ATSAM3U1C) /* Internal memory */ -# define SAM34_FLASH_SIZE (64*1024) /* 64KB */ -# define SAM34_SRAM0_SIZE (16*1024) /* 16KB */ -# define SAM34_SRAM1_SIZE 0 /* No SRAM1 */ -# define SAM34_NFCSRAM_SIZE (4*1024) /* 4KB */ +# define SAM34_FLASH_SIZE (64*1024) /* 64KB */ +# define SAM34_SRAM0_SIZE (16*1024) /* 16KB */ +# define SAM34_SRAM1_SIZE 0 /* No SRAM1 */ +# define SAM34_NFCSRAM_SIZE (4*1024) /* 4KB */ /* Peripherals */ -# define SAM34_NDMACHAN 4 /* 4 DMA Channels */ -# define SAM34_NPDCCHAN 17 /* 17 PDC Channels */ -# define SAM34_NMCI2 1 /* 1 memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 1 /* One USB high speed device */ -# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ -# define SAM34_NUDPFS 0 /* No USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 4 /* 4 DMA Channels */ +# define SAM34_NPDCCHAN 17 /* 17 PDC Channels */ +# define SAM34_NMCI2 1 /* 1 memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 1 /* One USB high speed device */ +# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ +# define SAM34_NUDPFS 0 /* No USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ /* AT91SAM3X/3A Families ************************************************************/ /* FEATURE SAM3X8E SAM3X8C SAM3X4E SAM3X4C SAM3A8C SAM3A4C @@ -233,127 +233,127 @@ /* Internal memory */ -# define SAM34_FLASH_SIZE (512*1024) /* 512KB */ -# define SAM34_SRAM0_SIZE (64*1024) /* 64KB */ -# define SAM34_SRAM1_SIZE (32*1024) /* 32KB */ -# define SAM34_NFCSRAM_SIZE (4*1024) /* 4KB */ +# define SAM34_FLASH_SIZE (512*1024) /* 512KB */ +# define SAM34_SRAM0_SIZE (64*1024) /* 64KB */ +# define SAM34_SRAM1_SIZE (32*1024) /* 32KB */ +# define SAM34_NFCSRAM_SIZE (4*1024) /* 4KB */ /* Peripherals */ -# define SAM34_NDMACHAN 6 /* 6 DMA Channels */ -# define SAM34_NPDCCHAN 17 /* 17 PDC Channels */ -# define SAM34_NMCI2 1 /* 1 memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 1 /* One USB high speed device */ -# define SAM34_NUHPHS 1 /* One USB high speed embedded host */ -# define SAM34_NUDPFS 0 /* No USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 6 /* 6 DMA Channels */ +# define SAM34_NPDCCHAN 17 /* 17 PDC Channels */ +# define SAM34_NMCI2 1 /* 1 memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 1 /* One USB high speed device */ +# define SAM34_NUHPHS 1 /* One USB high speed embedded host */ +# define SAM34_NUDPFS 0 /* No USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ #elif defined(CONFIG_ARCH_CHIP_ATSAM3X8C) /* Internal memory */ -# define SAM34_FLASH_SIZE (512*1024) /* 512KB */ -# define SAM34_SRAM0_SIZE (64*1024) /* 64KB */ -# define SAM34_SRAM1_SIZE (32*1024) /* 32KB */ -# define SAM34_NFCSRAM_SIZE 0 /* No NFC SRAM */ +# define SAM34_FLASH_SIZE (512*1024) /* 512KB */ +# define SAM34_SRAM0_SIZE (64*1024) /* 64KB */ +# define SAM34_SRAM1_SIZE (32*1024) /* 32KB */ +# define SAM34_NFCSRAM_SIZE 0 /* No NFC SRAM */ /* Peripherals */ -# define SAM34_NDMACHAN 4 /* 4 DMA Channels */ -# define SAM34_NPDCCHAN 17 /* 17 PDC Channels */ -# define SAM34_NMCI2 1 /* 1 memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 1 /* One USB high speed device */ -# define SAM34_NUHPHS 1 /* One USB high speed embedded host */ -# define SAM34_NUDPFS 0 /* No USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 4 /* 4 DMA Channels */ +# define SAM34_NPDCCHAN 17 /* 17 PDC Channels */ +# define SAM34_NMCI2 1 /* 1 memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 1 /* One USB high speed device */ +# define SAM34_NUHPHS 1 /* One USB high speed embedded host */ +# define SAM34_NUDPFS 0 /* No USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ #elif defined(CONFIG_ARCH_CHIP_ATSAM3X4E) /* Internal memory */ -# define SAM34_FLASH_SIZE (256*1024) /* 256KB */ -# define SAM34_SRAM0_SIZE (32*1024) /* 32KB */ -# define SAM34_SRAM1_SIZE (32*1024) /* 32KB */ -# define SAM34_NFCSRAM_SIZE (4*1024) /* 4KB */ +# define SAM34_FLASH_SIZE (256*1024) /* 256KB */ +# define SAM34_SRAM0_SIZE (32*1024) /* 32KB */ +# define SAM34_SRAM1_SIZE (32*1024) /* 32KB */ +# define SAM34_NFCSRAM_SIZE (4*1024) /* 4KB */ /* Peripherals */ -# define SAM34_NDMACHAN 6 /* 4 DMA Channels */ -# define SAM34_NPDCCHAN 17 /* 17 PDC Channels */ -# define SAM34_NMCI2 1 /* 1 memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 1 /* One USB high speed device */ -# define SAM34_NUHPHS 1 /* One USB high speed embedded host */ -# define SAM34_NUDPFS 0 /* No USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 6 /* 4 DMA Channels */ +# define SAM34_NPDCCHAN 17 /* 17 PDC Channels */ +# define SAM34_NMCI2 1 /* 1 memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 1 /* One USB high speed device */ +# define SAM34_NUHPHS 1 /* One USB high speed embedded host */ +# define SAM34_NUDPFS 0 /* No USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ #elif defined(CONFIG_ARCH_CHIP_ATSAM3X4C) /* Internal memory */ -# define SAM34_FLASH_SIZE (256*1024) /* 256KB */ -# define SAM34_SRAM0_SIZE (32*1024) /* 32KB */ -# define SAM34_SRAM1_SIZE (32*1024) /* 32KB */ -# define SAM34_NFCSRAM_SIZE 0 /* No NFC SRAM */ +# define SAM34_FLASH_SIZE (256*1024) /* 256KB */ +# define SAM34_SRAM0_SIZE (32*1024) /* 32KB */ +# define SAM34_SRAM1_SIZE (32*1024) /* 32KB */ +# define SAM34_NFCSRAM_SIZE 0 /* No NFC SRAM */ /* Peripherals */ -# define SAM34_NDMACHAN 4 /* 4 DMA Channels */ -# define SAM34_NPDCCHAN 15 /* 15 PDC Channels */ -# define SAM34_NMCI2 1 /* 1 memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 1 /* One USB high speed device */ -# define SAM34_NUHPHS 1 /* One USB high speed embedded host */ -# define SAM34_NUDPFS 0 /* No USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 4 /* 4 DMA Channels */ +# define SAM34_NPDCCHAN 15 /* 15 PDC Channels */ +# define SAM34_NMCI2 1 /* 1 memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 1 /* One USB high speed device */ +# define SAM34_NUHPHS 1 /* One USB high speed embedded host */ +# define SAM34_NUDPFS 0 /* No USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ #elif defined(CONFIG_ARCH_CHIP_ATSAM3A8C) /* Internal memory */ -# define SAM34_FLASH_SIZE (512*1024) /* 512KB */ -# define SAM34_SRAM0_SIZE (64*1024) /* 64KB */ -# define SAM34_SRAM1_SIZE (32*1024) /* 32KB */ -# define SAM34_NFCSRAM_SIZE 0 /* No NFC SRAM */ +# define SAM34_FLASH_SIZE (512*1024) /* 512KB */ +# define SAM34_SRAM0_SIZE (64*1024) /* 64KB */ +# define SAM34_SRAM1_SIZE (32*1024) /* 32KB */ +# define SAM34_NFCSRAM_SIZE 0 /* No NFC SRAM */ /* Peripherals */ -# define SAM34_NDMACHAN 4 /* 4 DMA Channels */ -# define SAM34_NPDCCHAN 15 /* 15 PDC Channels */ -# define SAM34_NMCI2 1 /* 1 memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 1 /* One USB high speed device */ -# define SAM34_NUHPHS 1 /* One USB high speed embedded host */ -# define SAM34_NUDPFS 0 /* No USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 4 /* 4 DMA Channels */ +# define SAM34_NPDCCHAN 15 /* 15 PDC Channels */ +# define SAM34_NMCI2 1 /* 1 memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 1 /* One USB high speed device */ +# define SAM34_NUHPHS 1 /* One USB high speed embedded host */ +# define SAM34_NUDPFS 0 /* No USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ #elif defined(CONFIG_ARCH_CHIP_ATSAM3A4C) /* Internal memory */ -# define SAM34_FLASH_SIZE (256*1024) /* 256KB */ -# define SAM34_SRAM0_SIZE (32*1024) /* 64KB */ -# define SAM34_SRAM1_SIZE (32*1024) /* 32KB */ -# define SAM34_NFCSRAM_SIZE 0 /* No NFC SRAM */ +# define SAM34_FLASH_SIZE (256*1024) /* 256KB */ +# define SAM34_SRAM0_SIZE (32*1024) /* 64KB */ +# define SAM34_SRAM1_SIZE (32*1024) /* 32KB */ +# define SAM34_NFCSRAM_SIZE 0 /* No NFC SRAM */ /* Peripherals */ -# define SAM34_NDMACHAN 4 /* 4 DMA Channels */ -# define SAM34_NPDCCHAN 15 /* 15 PDC Channels */ -# define SAM34_NMCI2 1 /* 1 memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 1 /* One USB high speed device */ -# define SAM34_NUHPHS 1 /* One USB high speed embedded host */ -# define SAM34_NUDPFS 0 /* No USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 4 /* 4 DMA Channels */ +# define SAM34_NPDCCHAN 15 /* 15 PDC Channels */ +# define SAM34_NMCI2 1 /* 1 memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 1 /* One USB high speed device */ +# define SAM34_NUHPHS 1 /* One USB high speed embedded host */ +# define SAM34_NUDPFS 0 /* No USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ /* AT91SAM4L Family *****************************************************************/ /* Sub-family differences: @@ -409,88 +409,88 @@ /* Internal memory */ -# define SAM34_FLASH_SIZE (128*1024) /* 128KB */ -# define SAM34_SRAM0_SIZE (32*1024) /* 32KB */ -# define SAM34_SRAM1_SIZE 0 /* None */ -# define SAM34_NFCSRAM_SIZE 0 /* None */ +# define SAM34_FLASH_SIZE (128*1024) /* 128KB */ +# define SAM34_SRAM0_SIZE (32*1024) /* 32KB */ +# define SAM34_SRAM1_SIZE 0 /* None */ +# define SAM34_NFCSRAM_SIZE 0 /* None */ /* Peripherals */ -# define SAM34_NDMACHAN 0 /* No DMAC Channels */ -# define SAM34_NPDCCHAN 16 /* 16 PDC Channels */ -# define SAM34_NMCI2 0 /* No memory card interface */ -# define SAM34_NSLCD 1 /* 1 segment LCD interface */ -# define SAM34_NAESA 1 /* 1 advanced encryption standard */ -# define SAM34_NUDPHS 0 /* No USB high speed device */ -# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ -# define SAM34_NUDPFS 1 /* 1 USB full speed device */ -# define SAM34_NUHPFS 1 /* 1 USB full speed embedded host */ +# define SAM34_NDMACHAN 0 /* No DMAC Channels */ +# define SAM34_NPDCCHAN 16 /* 16 PDC Channels */ +# define SAM34_NMCI2 0 /* No memory card interface */ +# define SAM34_NSLCD 1 /* 1 segment LCD interface */ +# define SAM34_NAESA 1 /* 1 advanced encryption standard */ +# define SAM34_NUDPHS 0 /* No USB high speed device */ +# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ +# define SAM34_NUDPFS 1 /* 1 USB full speed device */ +# define SAM34_NUHPFS 1 /* 1 USB full speed embedded host */ #elif defined(CONFIG_ARCH_CHIP_ATSAM4LC4C) || defined (CONFIG_ARCH_CHIP_ATSAM4LC4B) || \ defined(CONFIG_ARCH_CHIP_ATSAM4LC4A) /* Internal memory */ -# define SAM34_FLASH_SIZE (256*1024) /* 256KB */ -# define SAM34_SRAM0_SIZE (32*1024) /* 32KB */ -# define SAM34_SRAM1_SIZE 0 /* None */ -# define SAM34_NFCSRAM_SIZE 0 /* None */ +# define SAM34_FLASH_SIZE (256*1024) /* 256KB */ +# define SAM34_SRAM0_SIZE (32*1024) /* 32KB */ +# define SAM34_SRAM1_SIZE 0 /* None */ +# define SAM34_NFCSRAM_SIZE 0 /* None */ /* Peripherals */ -# define SAM34_NDMACHAN 0 /* No DMAC Channels */ -# define SAM34_NPDCCHAN 16 /* 16 PDC Channels */ -# define SAM34_NMCI2 0 /* No memory card interface */ -# define SAM34_NSLCD 1 /* 1 segment LCD interface */ -# define SAM34_NAESA 1 /* 1 advanced encryption standard */ -# define SAM34_NUDPHS 0 /* No USB high speed device */ -# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ -# define SAM34_NUDPFS 1 /* 1 USB full speed device */ -# define SAM34_NUHPFS 1 /* 1 USB full speed embedded host */ +# define SAM34_NDMACHAN 0 /* No DMAC Channels */ +# define SAM34_NPDCCHAN 16 /* 16 PDC Channels */ +# define SAM34_NMCI2 0 /* No memory card interface */ +# define SAM34_NSLCD 1 /* 1 segment LCD interface */ +# define SAM34_NAESA 1 /* 1 advanced encryption standard */ +# define SAM34_NUDPHS 0 /* No USB high speed device */ +# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ +# define SAM34_NUDPFS 1 /* 1 USB full speed device */ +# define SAM34_NUHPFS 1 /* 1 USB full speed embedded host */ #elif defined(CONFIG_ARCH_CHIP_ATSAM4LS2C) || defined (CONFIG_ARCH_CHIP_ATSAM4LS2B) || \ defined(CONFIG_ARCH_CHIP_ATSAM4LS2A) /* Internal memory */ -# define SAM34_FLASH_SIZE (128*1024) /* 128KB */ -# define SAM34_SRAM0_SIZE (32*1024) /* 32KB */ -# define SAM34_SRAM1_SIZE 0 /* None */ -# define SAM34_NFCSRAM_SIZE 0 /* None */ +# define SAM34_FLASH_SIZE (128*1024) /* 128KB */ +# define SAM34_SRAM0_SIZE (32*1024) /* 32KB */ +# define SAM34_SRAM1_SIZE 0 /* None */ +# define SAM34_NFCSRAM_SIZE 0 /* None */ /* Peripherals */ -# define SAM34_NDMACHAN 0 /* No DMAC Channels */ -# define SAM34_NPDCCHAN 16 /* 16 PDC Channels */ -# define SAM34_NMCI2 0 /* No memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 0 /* No USB high speed device */ -# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ -# define SAM34_NUDPFS 1 /* 1 USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 0 /* No DMAC Channels */ +# define SAM34_NPDCCHAN 16 /* 16 PDC Channels */ +# define SAM34_NMCI2 0 /* No memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 0 /* No USB high speed device */ +# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ +# define SAM34_NUDPFS 1 /* 1 USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ #elif defined(CONFIG_ARCH_CHIP_ATSAM4LS4C) || defined (CONFIG_ARCH_CHIP_ATSAM4LS4B) || \ defined(CONFIG_ARCH_CHIP_ATSAM4LS4A) /* Internal memory */ -# define SAM34_FLASH_SIZE (256*1024) /* 256KB */ -# define SAM34_SRAM0_SIZE (32*1024) /* 32KB */ -# define SAM34_SRAM1_SIZE 0 /* None */ -# define SAM34_NFCSRAM_SIZE 0 /* None */ +# define SAM34_FLASH_SIZE (256*1024) /* 256KB */ +# define SAM34_SRAM0_SIZE (32*1024) /* 32KB */ +# define SAM34_SRAM1_SIZE 0 /* None */ +# define SAM34_NFCSRAM_SIZE 0 /* None */ /* Peripherals */ -# define SAM34_NDMACHAN 0 /* No DMAC Channels */ -# define SAM34_NPDCCHAN 16 /* 16 PDC Channels */ -# define SAM34_NMCI2 0 /* No memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 0 /* No USB high speed device */ -# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ -# define SAM34_NUDPFS 1 /* 1 USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 0 /* No DMAC Channels */ +# define SAM34_NPDCCHAN 16 /* 16 PDC Channels */ +# define SAM34_NMCI2 0 /* No memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 0 /* No USB high speed device */ +# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ +# define SAM34_NUDPFS 1 /* 1 USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ /* AT91SAM4S Family *****************************************************************/ /* @@ -514,202 +514,202 @@ #elif defined(CONFIG_ARCH_CHIP_ATSAM4SD32C) /* Internal memory */ -# define SAM34_FLASH_SIZE (2*1024*1024) /* 2x1MB */ -# define SAM34_SRAM0_SIZE (160*1024) /* 160KB */ -# define SAM34_SRAM1_SIZE 0 /* None */ -# define SAM34_NFCSRAM_SIZE 0 /* None */ +# define SAM34_FLASH_SIZE (2*1024*1024) /* 2x1MB */ +# define SAM34_SRAM0_SIZE (160*1024) /* 160KB */ +# define SAM34_SRAM1_SIZE 0 /* None */ +# define SAM34_NFCSRAM_SIZE 0 /* None */ /* Peripherals */ -# define SAM34_NDMACHAN 0 /* No DMAC Channels */ -# define SAM34_NPDCCHAN 22 /* 22 PDC Channels */ -# define SAM34_NMCI2 1 /* 1 memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 0 /* No USB high speed device */ -# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ -# define SAM34_NUDPFS 1 /* 1 USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 0 /* No DMAC Channels */ +# define SAM34_NPDCCHAN 22 /* 22 PDC Channels */ +# define SAM34_NMCI2 1 /* 1 memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 0 /* No USB high speed device */ +# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ +# define SAM34_NUDPFS 1 /* 1 USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ #elif defined(CONFIG_ARCH_CHIP_ATSAM4SD32B) /* Internal memory */ -# define SAM34_FLASH_SIZE (2*1024*1024) /* 2x1MB */ -# define SAM34_SRAM0_SIZE (160*1024) /* 160KB */ -# define SAM34_SRAM1_SIZE 0 /* None */ -# define SAM34_NFCSRAM_SIZE 0 /* None */ +# define SAM34_FLASH_SIZE (2*1024*1024) /* 2x1MB */ +# define SAM34_SRAM0_SIZE (160*1024) /* 160KB */ +# define SAM34_SRAM1_SIZE 0 /* None */ +# define SAM34_NFCSRAM_SIZE 0 /* None */ /* Peripherals */ -# define SAM34_NDMACHAN 0 /* No DMAC Channels */ -# define SAM34_NPDCCHAN 22 /* 22 PDC Channels */ -# define SAM34_NMCI2 1 /* 1 memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 0 /* No USB high speed device */ -# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ -# define SAM34_NUDPFS 1 /* 1 USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 0 /* No DMAC Channels */ +# define SAM34_NPDCCHAN 22 /* 22 PDC Channels */ +# define SAM34_NMCI2 1 /* 1 memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 0 /* No USB high speed device */ +# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ +# define SAM34_NUDPFS 1 /* 1 USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ #elif defined(CONFIG_ARCH_CHIP_ATSAM4SD16C) /* Internal memory */ -# define SAM34_FLASH_SIZE (1024*1024) /* 2x512KB */ -# define SAM34_SRAM0_SIZE (160*1024) /* 160KB */ -# define SAM34_SRAM1_SIZE 0 /* None */ -# define SAM34_NFCSRAM_SIZE 0 /* None */ +# define SAM34_FLASH_SIZE (1024*1024) /* 2x512KB */ +# define SAM34_SRAM0_SIZE (160*1024) /* 160KB */ +# define SAM34_SRAM1_SIZE 0 /* None */ +# define SAM34_NFCSRAM_SIZE 0 /* None */ /* Peripherals */ -# define SAM34_NDMACHAN 0 /* No DMAC Channels */ -# define SAM34_NPDCCHAN 22 /* 22 PDC Channels */ -# define SAM34_NMCI2 1 /* 1 memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 0 /* No USB high speed device */ -# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ -# define SAM34_NUDPFS 1 /* 1 USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 0 /* No DMAC Channels */ +# define SAM34_NPDCCHAN 22 /* 22 PDC Channels */ +# define SAM34_NMCI2 1 /* 1 memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 0 /* No USB high speed device */ +# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ +# define SAM34_NUDPFS 1 /* 1 USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ #elif defined(CONFIG_ARCH_CHIP_ATSAM4SD16B) /* Internal memory */ -# define SAM34_FLASH_SIZE (1024*1024) /* 2x512KB */ -# define SAM34_SRAM0_SIZE (160*1024) /* 160KB */ -# define SAM34_SRAM1_SIZE 0 /* None */ -# define SAM34_NFCSRAM_SIZE 0 /* None */ +# define SAM34_FLASH_SIZE (1024*1024) /* 2x512KB */ +# define SAM34_SRAM0_SIZE (160*1024) /* 160KB */ +# define SAM34_SRAM1_SIZE 0 /* None */ +# define SAM34_NFCSRAM_SIZE 0 /* None */ /* Peripherals */ -# define SAM34_NDMACHAN 0 /* No DMAC Channels */ -# define SAM34_NPDCCHAN 22 /* 22 PDC Channels */ -# define SAM34_NMCI2 1 /* 1 memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 0 /* No USB high speed device */ -# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ -# define SAM34_NUDPFS 1 /* 1 USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 0 /* No DMAC Channels */ +# define SAM34_NPDCCHAN 22 /* 22 PDC Channels */ +# define SAM34_NMCI2 1 /* 1 memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 0 /* No USB high speed device */ +# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ +# define SAM34_NUDPFS 1 /* 1 USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ #elif defined(CONFIG_ARCH_CHIP_ATSAM4SA16C) /* Internal memory */ -# define SAM34_FLASH_SIZE (1024*1024) /* 1MB */ -# define SAM34_SRAM0_SIZE (160*1024) /* 160KB */ -# define SAM34_SRAM1_SIZE 0 /* None */ -# define SAM34_NFCSRAM_SIZE 0 /* None */ +# define SAM34_FLASH_SIZE (1024*1024) /* 1MB */ +# define SAM34_SRAM0_SIZE (160*1024) /* 160KB */ +# define SAM34_SRAM1_SIZE 0 /* None */ +# define SAM34_NFCSRAM_SIZE 0 /* None */ /* Peripherals */ -# define SAM34_NDMACHAN 0 /* No DMAC Channels */ -# define SAM34_NPDCCHAN 22 /* 22 PDC Channels */ -# define SAM34_NMCI2 1 /* 1 memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 0 /* No USB high speed device */ -# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ -# define SAM34_NUDPFS 1 /* 1 USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 0 /* No DMAC Channels */ +# define SAM34_NPDCCHAN 22 /* 22 PDC Channels */ +# define SAM34_NMCI2 1 /* 1 memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 0 /* No USB high speed device */ +# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ +# define SAM34_NUDPFS 1 /* 1 USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ #elif defined(CONFIG_ARCH_CHIP_ATSAM4SA16B) /* Internal memory */ -# define SAM34_FLASH_SIZE (1024*1024) /* 1MB */ -# define SAM34_SRAM0_SIZE (160*1024) /* 160KB */ -# define SAM34_SRAM1_SIZE 0 /* None */ -# define SAM34_NFCSRAM_SIZE 0 /* None */ +# define SAM34_FLASH_SIZE (1024*1024) /* 1MB */ +# define SAM34_SRAM0_SIZE (160*1024) /* 160KB */ +# define SAM34_SRAM1_SIZE 0 /* None */ +# define SAM34_NFCSRAM_SIZE 0 /* None */ /* Peripherals */ -# define SAM34_NDMACHAN 0 /* No DMAC Channels */ -# define SAM34_NPDCCHAN 22 /* 22 PDC Channels */ -# define SAM34_NMCI2 1 /* 1 memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 0 /* No USB high speed device */ -# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ -# define SAM34_NUDPFS 1 /* 1 USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 0 /* No DMAC Channels */ +# define SAM34_NPDCCHAN 22 /* 22 PDC Channels */ +# define SAM34_NMCI2 1 /* 1 memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 0 /* No USB high speed device */ +# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ +# define SAM34_NUDPFS 1 /* 1 USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ #elif defined(CONFIG_ARCH_CHIP_ATSAM4S16C) /* Internal memory */ -# define SAM34_FLASH_SIZE (1024*1024) /* 1MB */ -# define SAM34_SRAM0_SIZE (128*1024) /* 128KB */ -# define SAM34_SRAM1_SIZE 0 /* None */ -# define SAM34_NFCSRAM_SIZE 0 /* None */ +# define SAM34_FLASH_SIZE (1024*1024) /* 1MB */ +# define SAM34_SRAM0_SIZE (128*1024) /* 128KB */ +# define SAM34_SRAM1_SIZE 0 /* None */ +# define SAM34_NFCSRAM_SIZE 0 /* None */ /* Peripherals */ -# define SAM34_NDMACHAN 0 /* No DMAC Channels */ -# define SAM34_NPDCCHAN 22 /* 22 PDC Channels */ -# define SAM34_NMCI2 1 /* 1 memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 0 /* No USB high speed device */ -# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ -# define SAM34_NUDPFS 1 /* 1 USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 0 /* No DMAC Channels */ +# define SAM34_NPDCCHAN 22 /* 22 PDC Channels */ +# define SAM34_NMCI2 1 /* 1 memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 0 /* No USB high speed device */ +# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ +# define SAM34_NUDPFS 1 /* 1 USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ #elif defined(CONFIG_ARCH_CHIP_ATSAM4S16B) /* Internal memory */ -# define SAM34_FLASH_SIZE (1024*1024) /* 1MB */ -# define SAM34_SRAM0_SIZE (128*1024) /* 128KB */ -# define SAM34_SRAM1_SIZE 0 /* None */ -# define SAM34_NFCSRAM_SIZE 0 /* None */ +# define SAM34_FLASH_SIZE (1024*1024) /* 1MB */ +# define SAM34_SRAM0_SIZE (128*1024) /* 128KB */ +# define SAM34_SRAM1_SIZE 0 /* None */ +# define SAM34_NFCSRAM_SIZE 0 /* None */ /* Peripherals */ -# define SAM34_NDMACHAN 0 /* No DMAC Channels */ -# define SAM34_NPDCCHAN 22 /* 22 PDC Channels */ -# define SAM34_NMCI2 1 /* 1 memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 0 /* No USB high speed device */ -# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ -# define SAM34_NUDPFS 1 /* 1 USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 0 /* No DMAC Channels */ +# define SAM34_NPDCCHAN 22 /* 22 PDC Channels */ +# define SAM34_NMCI2 1 /* 1 memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 0 /* No USB high speed device */ +# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ +# define SAM34_NUDPFS 1 /* 1 USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ #elif defined(CONFIG_ARCH_CHIP_ATSAM4S8C) /* Internal memory */ -# define SAM34_FLASH_SIZE (512*1024) /* 512KB */ -# define SAM34_SRAM0_SIZE (128*1024) /* 128KB */ -# define SAM34_SRAM1_SIZE 0 /* None */ -# define SAM34_NFCSRAM_SIZE 0 /* None */ +# define SAM34_FLASH_SIZE (512*1024) /* 512KB */ +# define SAM34_SRAM0_SIZE (128*1024) /* 128KB */ +# define SAM34_SRAM1_SIZE 0 /* None */ +# define SAM34_NFCSRAM_SIZE 0 /* None */ /* Peripherals */ -# define SAM34_NDMACHAN 0 /* No DMAC Channels */ -# define SAM34_NPDCCHAN 22 /* 22 PDC Channels */ -# define SAM34_NMCI2 1 /* 1 memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 0 /* No USB high speed device */ -# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ -# define SAM34_NUDPFS 1 /* 1 USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 0 /* No DMAC Channels */ +# define SAM34_NPDCCHAN 22 /* 22 PDC Channels */ +# define SAM34_NMCI2 1 /* 1 memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 0 /* No USB high speed device */ +# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ +# define SAM34_NUDPFS 1 /* 1 USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ #elif defined(CONFIG_ARCH_CHIP_ATSAM4S8B) /* Internal memory */ -# define SAM34_FLASH_SIZE (512*1024) /* 512KB */ -# define SAM34_SRAM0_SIZE (128*1024) /* 128KB */ -# define SAM34_SRAM1_SIZE 0 /* None */ -# define SAM34_NFCSRAM_SIZE 0 /* None */ +# define SAM34_FLASH_SIZE (512*1024) /* 512KB */ +# define SAM34_SRAM0_SIZE (128*1024) /* 128KB */ +# define SAM34_SRAM1_SIZE 0 /* None */ +# define SAM34_NFCSRAM_SIZE 0 /* None */ /* Peripherals */ -# define SAM34_NDMACHAN 0 /* No DMAC Channels */ -# define SAM34_NPDCCHAN 22 /* 22 PDC Channels */ -# define SAM34_NMCI2 1 /* 1 memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 0 /* No USB high speed device */ -# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ -# define SAM34_NUDPFS 1 /* 1 USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 0 /* No DMAC Channels */ +# define SAM34_NPDCCHAN 22 /* 22 PDC Channels */ +# define SAM34_NMCI2 1 /* 1 memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 0 /* No USB high speed device */ +# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ +# define SAM34_NUDPFS 1 /* 1 USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ /* AT91SAM4E Family *****************************************************************/ /* FEATURE SAM4E16E SAM4E8E SAM4E16C SAM4E8C @@ -744,82 +744,82 @@ #elif defined(CONFIG_ARCH_CHIP_ATSAM4E16E) /* Internal memory */ -# define SAM34_FLASH_SIZE (1024*1024) /* 1024KB */ -# define SAM34_SRAM0_SIZE (128*1024) /* 128KB */ -# define SAM34_SRAM1_SIZE 0 /* None */ -# define SAM34_NFCSRAM_SIZE 0 /* None */ +# define SAM34_FLASH_SIZE (1024*1024) /* 1024KB */ +# define SAM34_SRAM0_SIZE (128*1024) /* 128KB */ +# define SAM34_SRAM1_SIZE 0 /* None */ +# define SAM34_NFCSRAM_SIZE 0 /* None */ /* Peripherals */ -# define SAM34_NDMACHAN 4 /* 4 DMAC Channels */ -# define SAM34_NPDCCHAN 24 /* 24 PDC Channels */ -# define SAM34_NMCI2 1 /* 1 memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 0 /* No USB high speed device */ -# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ -# define SAM34_NUDPFS 1 /* 1 USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 4 /* 4 DMAC Channels */ +# define SAM34_NPDCCHAN 24 /* 24 PDC Channels */ +# define SAM34_NMCI2 1 /* 1 memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 0 /* No USB high speed device */ +# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ +# define SAM34_NUDPFS 1 /* 1 USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ #elif defined(CONFIG_ARCH_CHIP_ATSAM4E8E) /* Internal memory */ -# define SAM34_FLASH_SIZE (512*1024) /* 512KB */ -# define SAM34_SRAM0_SIZE (128*1024) /* 128KB */ -# define SAM34_SRAM1_SIZE 0 /* None */ -# define SAM34_NFCSRAM_SIZE 0 /* None */ +# define SAM34_FLASH_SIZE (512*1024) /* 512KB */ +# define SAM34_SRAM0_SIZE (128*1024) /* 128KB */ +# define SAM34_SRAM1_SIZE 0 /* None */ +# define SAM34_NFCSRAM_SIZE 0 /* None */ /* Peripherals */ -# define SAM34_NDMACHAN 4 /* 4 DMAC Channels */ -# define SAM34_NPDCCHAN 24 /* 24 PDC Channels */ -# define SAM34_NMCI2 1 /* 1 memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 0 /* No USB high speed device */ -# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ -# define SAM34_NUDPFS 1 /* 1 USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 4 /* 4 DMAC Channels */ +# define SAM34_NPDCCHAN 24 /* 24 PDC Channels */ +# define SAM34_NMCI2 1 /* 1 memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 0 /* No USB high speed device */ +# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ +# define SAM34_NUDPFS 1 /* 1 USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ #elif defined(CONFIG_ARCH_CHIP_ATSAM4E16C) /* Internal memory */ -# define SAM34_FLASH_SIZE (1024*1024) /* 1024KB */ -# define SAM34_SRAM0_SIZE (128*1024) /* 128KB */ -# define SAM34_SRAM1_SIZE 0 /* None */ -# define SAM34_NFCSRAM_SIZE 0 /* None */ +# define SAM34_FLASH_SIZE (1024*1024) /* 1024KB */ +# define SAM34_SRAM0_SIZE (128*1024) /* 128KB */ +# define SAM34_SRAM1_SIZE 0 /* None */ +# define SAM34_NFCSRAM_SIZE 0 /* None */ /* Peripherals */ -# define SAM34_NDMACHAN 4 /* 4 DMAC Channels */ -# define SAM34_NPDCCHAN 21 /* 21 PDC Channels */ -# define SAM34_NMCI2 1 /* 1 memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 0 /* No USB high speed device */ -# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ -# define SAM34_NUDPFS 1 /* 1 USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 4 /* 4 DMAC Channels */ +# define SAM34_NPDCCHAN 21 /* 21 PDC Channels */ +# define SAM34_NMCI2 1 /* 1 memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 0 /* No USB high speed device */ +# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ +# define SAM34_NUDPFS 1 /* 1 USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ #elif defined(CONFIG_ARCH_CHIP_ATSAM4E8C) /* Internal memory */ -# define SAM34_FLASH_SIZE (512*1024) /* 512KB */ -# define SAM34_SRAM0_SIZE (128*1024) /* 128KB */ -# define SAM34_SRAM1_SIZE 0 /* None */ -# define SAM34_NFCSRAM_SIZE 0 /* None */ +# define SAM34_FLASH_SIZE (512*1024) /* 512KB */ +# define SAM34_SRAM0_SIZE (128*1024) /* 128KB */ +# define SAM34_SRAM1_SIZE 0 /* None */ +# define SAM34_NFCSRAM_SIZE 0 /* None */ /* Peripherals */ -# define SAM34_NDMACHAN 4 /* 4 DMAC Channels */ -# define SAM34_NPDCCHAN 21 /* 21 PDC Channels */ -# define SAM34_NMCI2 1 /* 1 memory card interface */ -# define SAM34_NSLCD 0 /* No segment LCD interface */ -# define SAM34_NAESA 0 /* No advanced encryption standard */ -# define SAM34_NUDPHS 0 /* No USB high speed device */ -# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ -# define SAM34_NUDPFS 1 /* 1 USB full speed device */ -# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ +# define SAM34_NDMACHAN 4 /* 4 DMAC Channels */ +# define SAM34_NPDCCHAN 21 /* 21 PDC Channels */ +# define SAM34_NMCI2 1 /* 1 memory card interface */ +# define SAM34_NSLCD 0 /* No segment LCD interface */ +# define SAM34_NAESA 0 /* No advanced encryption standard */ +# define SAM34_NUDPHS 0 /* No USB high speed device */ +# define SAM34_NUHPHS 0 /* No USB high speed embedded host */ +# define SAM34_NUDPFS 1 /* 1 USB full speed device */ +# define SAM34_NUHPFS 0 /* No USB full speed embedded host */ #else # error "Unknown SAM3/4 chip type"