Skip to contentSkip to conversation

avr32: Retire AVR32 for good

PATCH Superseded Andy Shevchenko 2 participants 2 messages Jul 5, 2017

Subsystems (8)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 avr32: Retire AVR32 for good

AVR32 is gone. It's already more than two years for no support in Buildroot, even longer there is no support in GCC (last version is heavily patched 4.2.4).

Linux kernel v4.12 got rid of it (and v4.11 didn't build successfully).

There is no good point to keep this support in U-Boot either.

---
In v2:
- add tags
- remove leftovers in config_whitelist.txt using script (Tom)
- remove leftovers of grasshopper board (Heiko)

To check the change, the best way is to apply and run

	% git whatchanged --stat -p -M -C -D
 .travis.yml                                        |   6 +-
 MAINTAINERS                                        |   6 -
 README                                             |   8 +-
 arch/Kconfig                                       |   5 -
 arch/avr32/Kconfig                                 |  30 ---
 arch/avr32/Makefile                                |   8 -
 arch/avr32/config.mk                               |  17 --
 arch/avr32/cpu/Makefile                            |  21 --
 arch/avr32/cpu/at32ap700x/Makefile                 |   7 -
 arch/avr32/cpu/at32ap700x/clk.c                    |  82 ------
 arch/avr32/cpu/at32ap700x/mmu.c                    |  78 ------
 arch/avr32/cpu/at32ap700x/portmux.c                | 278 --------------------
 arch/avr32/cpu/at32ap700x/sm.h                     | 204 ---------------
 arch/avr32/cpu/cache.c                             |  81 ------
 arch/avr32/cpu/config.mk                           |   6 -
 arch/avr32/cpu/cpu.c                               |  73 ------
 arch/avr32/cpu/exception.c                         | 108 --------
 arch/avr32/cpu/hsdramc.c                           | 101 --------
 arch/avr32/cpu/hsdramc1.h                          | 143 -----------
 arch/avr32/cpu/hsmc3.h                             | 126 ---------
 arch/avr32/cpu/interrupts.c                        | 112 --------
 arch/avr32/cpu/mmc.c                               |  16 --
 arch/avr32/cpu/portmux-gpio.c                      |  91 -------
 arch/avr32/cpu/portmux-pio.c                       |  76 ------
 arch/avr32/cpu/start.S                             | 268 --------------------
 arch/avr32/cpu/u-boot.lds                          |  58 -----
 arch/avr32/include/asm/arch-at32ap700x/addrspace.h |  65 -----
 .../avr32/include/asm/arch-at32ap700x/cacheflush.h |  65 -----
 .../include/asm/arch-at32ap700x/chip-features.h    |  24 --
 arch/avr32/include/asm/arch-at32ap700x/clk.h       | 175 -------------
 arch/avr32/include/asm/arch-at32ap700x/gpio.h      |  48 ----
 arch/avr32/include/asm/arch-at32ap700x/hardware.h  |  70 -----
 arch/avr32/include/asm/arch-at32ap700x/hmatrix.h   |  45 ----
 arch/avr32/include/asm/arch-at32ap700x/mmu.h       |  66 -----
 arch/avr32/include/asm/arch-at32ap700x/portmux.h   |  76 ------
 arch/avr32/include/asm/arch-common/portmux-pio.h   | 122 ---------
 arch/avr32/include/asm/bitops.h                    |  14 -
 arch/avr32/include/asm/byteorder.h                 |  21 --
 arch/avr32/include/asm/cache.h                     |  25 --
 arch/avr32/include/asm/config.h                    |  13 -
 arch/avr32/include/asm/dma-mapping.h               |  55 ----
 arch/avr32/include/asm/global_data.h               |  18 --
 arch/avr32/include/asm/hmatrix-common.h            | 115 ---------
 arch/avr32/include/asm/io.h                        |  77 ------
 arch/avr32/include/asm/linkage.h                   |   0
 arch/avr32/include/asm/posix_types.h               | 128 ----------
 arch/avr32/include/asm/processor.h                 |  81 ------
 arch/avr32/include/asm/ptrace.h                    | 132 ----------
 arch/avr32/include/asm/sdram.h                     |  37 ---
 arch/avr32/include/asm/sections.h                  |  16 --
 arch/avr32/include/asm/setup.h                     | 134 ----------
 arch/avr32/include/asm/string.h                    |  12 -
 arch/avr32/include/asm/sysreg.h                    | 281 ---------------------
 arch/avr32/include/asm/types.h                     |  71 ------
 arch/avr32/include/asm/u-boot.h                    |  18 --
 arch/avr32/include/asm/unaligned.h                 |   1 -
 arch/avr32/lib/Makefile                            |  13 -
 arch/avr32/lib/bootm.c                             | 213 ----------------
 arch/avr32/lib/dram_init.c                         |  17 --
 arch/avr32/lib/interrupts.c                        |  35 ---
 arch/avr32/lib/memset.S                            |  65 -----
 board/atmel/atngw100/Kconfig                       |  15 --
 board/atmel/atngw100/MAINTAINERS                   |   6 -
 board/atmel/atngw100/Makefile                      |   6 -
 board/atmel/atngw100/atngw100.c                    | 109 --------
 board/atmel/atngw100mkii/Kconfig                   |  15 --
 board/atmel/atngw100mkii/MAINTAINERS               |   6 -
 board/atmel/atngw100mkii/Makefile                  |   6 -
 board/atmel/atngw100mkii/atngw100mkii.c            | 125 ---------
 board/atmel/atstk1000/Kconfig                      |  15 --
 board/atmel/atstk1000/MAINTAINERS                  |   6 -
 board/atmel/atstk1000/Makefile                     |   9 -
 board/atmel/atstk1000/atstk1000.c                  |  89 -------
 board/in-circuit/grasshopper/Kconfig               |  15 --
 board/in-circuit/grasshopper/MAINTAINERS           |   6 -
 board/in-circuit/grasshopper/Makefile              |  10 -
 board/in-circuit/grasshopper/grasshopper.c         |  87 -------
 cmd/bdinfo.c                                       |  11 -
 common/board_r.c                                   |  13 +-
 configs/atngw100_defconfig                         |  26 --
 configs/atngw100mkii_defconfig                     |  26 --
 configs/atstk1002_defconfig                        |  22 --
 configs/grasshopper_defconfig                      |  18 --
 doc/README.AVR32                                   |  25 --
 doc/README.AVR32-port-muxing                       | 208 ---------------
 doc/README.atmel_mci                               |   3 +-
 doc/README.scrapyard                               |   6 -
 doc/git-mailrc                                     |   3 +-
 drivers/i2c/soft_i2c.c                             |   5 +-
 drivers/spi/Kconfig                                |   4 +-
 drivers/usb/gadget/atmel_usba_udc.h                |   5 -
 drivers/usb/musb-new/musb_io.h                     |   2 +-
 drivers/video/atmel_lcdfb.c                        |   4 -
 drivers/video/cfb_console.c                        |   2 +-
 examples/standalone/stubs.c                        |  13 -
 include/asm-generic/u-boot.h                       |   4 -
 include/configs/atngw100.h                         | 129 ----------
 include/configs/atngw100mkii.h                     | 150 -----------
 include/configs/atstk1002.h                        | 148 -----------
 include/configs/grasshopper.h                      | 145 -----------
 include/linux/fb.h                                 |   2 +-
 include/linux/stat.h                               |   4 +-
 scripts/checkstack.pl                              |   5 -
 scripts/config_whitelist.txt                       |   8 -
 tools/buildman/README                              |  11 +-
 tools/moveconfig.py                                |   1 -
 106 files changed, 20 insertions(+), 5865 deletions(-)
 delete mode 100644 arch/avr32/Kconfig
 delete mode 100644 arch/avr32/Makefile
 delete mode 100644 arch/avr32/config.mk
 delete mode 100644 arch/avr32/cpu/Makefile
 delete mode 100644 arch/avr32/cpu/at32ap700x/Makefile
 delete mode 100644 arch/avr32/cpu/at32ap700x/clk.c
 delete mode 100644 arch/avr32/cpu/at32ap700x/mmu.c
 delete mode 100644 arch/avr32/cpu/at32ap700x/portmux.c
 delete mode 100644 arch/avr32/cpu/at32ap700x/sm.h
 delete mode 100644 arch/avr32/cpu/cache.c
 delete mode 100644 arch/avr32/cpu/config.mk
 delete mode 100644 arch/avr32/cpu/cpu.c
 delete mode 100644 arch/avr32/cpu/exception.c
 delete mode 100644 arch/avr32/cpu/hsdramc.c
 delete mode 100644 arch/avr32/cpu/hsdramc1.h
 delete mode 100644 arch/avr32/cpu/hsmc3.h
 delete mode 100644 arch/avr32/cpu/interrupts.c
 delete mode 100644 arch/avr32/cpu/mmc.c
 delete mode 100644 arch/avr32/cpu/portmux-gpio.c
 delete mode 100644 arch/avr32/cpu/portmux-pio.c
 delete mode 100644 arch/avr32/cpu/start.S
 delete mode 100644 arch/avr32/cpu/u-boot.lds
 delete mode 100644 arch/avr32/include/asm/arch-at32ap700x/addrspace.h
 delete mode 100644 arch/avr32/include/asm/arch-at32ap700x/cacheflush.h
 delete mode 100644 arch/avr32/include/asm/arch-at32ap700x/chip-features.h
 delete mode 100644 arch/avr32/include/asm/arch-at32ap700x/clk.h
 delete mode 100644 arch/avr32/include/asm/arch-at32ap700x/gpio.h
 delete mode 100644 arch/avr32/include/asm/arch-at32ap700x/hardware.h
 delete mode 100644 arch/avr32/include/asm/arch-at32ap700x/hmatrix.h
 delete mode 100644 arch/avr32/include/asm/arch-at32ap700x/mmu.h
 delete mode 100644 arch/avr32/include/asm/arch-at32ap700x/portmux.h
 delete mode 100644 arch/avr32/include/asm/arch-common/portmux-pio.h
 delete mode 100644 arch/avr32/include/asm/bitops.h
 delete mode 100644 arch/avr32/include/asm/byteorder.h
 delete mode 100644 arch/avr32/include/asm/cache.h
 delete mode 100644 arch/avr32/include/asm/config.h
 delete mode 100644 arch/avr32/include/asm/dma-mapping.h
 delete mode 100644 arch/avr32/include/asm/global_data.h
 delete mode 100644 arch/avr32/include/asm/hmatrix-common.h
 delete mode 100644 arch/avr32/include/asm/io.h
 delete mode 100644 arch/avr32/include/asm/linkage.h
 delete mode 100644 arch/avr32/include/asm/posix_types.h
 delete mode 100644 arch/avr32/include/asm/processor.h
 delete mode 100644 arch/avr32/include/asm/ptrace.h
 delete mode 100644 arch/avr32/include/asm/sdram.h
 delete mode 100644 arch/avr32/include/asm/sections.h
 delete mode 100644 arch/avr32/include/asm/setup.h
 delete mode 100644 arch/avr32/include/asm/string.h
 delete mode 100644 arch/avr32/include/asm/sysreg.h
 delete mode 100644 arch/avr32/include/asm/types.h
 delete mode 100644 arch/avr32/include/asm/u-boot.h
 delete mode 100644 arch/avr32/include/asm/unaligned.h
 delete mode 100644 arch/avr32/lib/Makefile
 delete mode 100644 arch/avr32/lib/bootm.c
 delete mode 100644 arch/avr32/lib/dram_init.c
 delete mode 100644 arch/avr32/lib/interrupts.c
 delete mode 100644 arch/avr32/lib/memset.S
 delete mode 100644 board/atmel/atngw100/Kconfig
 delete mode 100644 board/atmel/atngw100/MAINTAINERS
 delete mode 100644 board/atmel/atngw100/Makefile
 delete mode 100644 board/atmel/atngw100/atngw100.c
 delete mode 100644 board/atmel/atngw100mkii/Kconfig
 delete mode 100644 board/atmel/atngw100mkii/MAINTAINERS
 delete mode 100644 board/atmel/atngw100mkii/Makefile
 delete mode 100644 board/atmel/atngw100mkii/atngw100mkii.c
 delete mode 100644 board/atmel/atstk1000/Kconfig
 delete mode 100644 board/atmel/atstk1000/MAINTAINERS
 delete mode 100644 board/atmel/atstk1000/Makefile
 delete mode 100644 board/atmel/atstk1000/atstk1000.c
 delete mode 100644 board/in-circuit/grasshopper/Kconfig
 delete mode 100644 board/in-circuit/grasshopper/MAINTAINERS
 delete mode 100644 board/in-circuit/grasshopper/Makefile
 delete mode 100644 board/in-circuit/grasshopper/grasshopper.c
 delete mode 100644 configs/atngw100_defconfig
 delete mode 100644 configs/atngw100mkii_defconfig
 delete mode 100644 configs/atstk1002_defconfig
 delete mode 100644 configs/grasshopper_defconfig
 delete mode 100644 doc/README.AVR32
 delete mode 100644 doc/README.AVR32-port-muxing
 delete mode 100644 include/configs/atngw100.h
 delete mode 100644 include/configs/atngw100mkii.h
 delete mode 100644 include/configs/atstk1002.h
 delete mode 100644 include/configs/grasshopper.h
.travis.yml +1 -5
index 6f14ec2396..f7287ae254 100644
@@ -60,7 +60,6 @@ env:
 
 before_script:
   # install toolchains based on TOOLCHAIN} variable
-  - if [[ "${TOOLCHAIN}" == *avr32* ]]; then ./tools/buildman/buildman --fetch-arch avr32 ; fi
   - if [[ "${TOOLCHAIN}" == *m68k* ]]; then ./tools/buildman/buildman --fetch-arch m68k ; fi
   - if [[ "${TOOLCHAIN}" == *microblaze* ]]; then ./tools/buildman/buildman --fetch-arch microblaze ; fi
   - if [[ "${TOOLCHAIN}" == *mips* ]]; then ./tools/buildman/buildman --fetch-arch mips ; fi
@@ -138,10 +137,7 @@ matrix:
     - env:
         - BUILDMAN="arm946es"
     - env:
-        - BUILDMAN="atmel -x avr32"
-    - env:
-        - BUILDMAN="avr32"
-          TOOLCHAIN="avr32"
+        - BUILDMAN="atmel"
     - env:
         - BUILDMAN="aries"
     - env:
MAINTAINERS +0 -6
index 957e27c40d..e979cc8a2e 100644
@@ -221,12 +221,6 @@ S:	Maintained
 F:	arch/arm/cpu/armv8/zynqmp/
 F:	arch/arm/include/asm/arch-zynqmp/
 
-AVR32
-M:	Andreas Bießmann <[email protected]>
-S:	Maintained
-T:	git git://git.denx.de/u-boot-avr32.git
-F:	arch/avr32/
-
 BUILDMAN
 M:	Simon Glass <[email protected]>
 S:	Maintained
README +2 -6
index 5f4f97cb01..54978c3349 100644
@@ -136,7 +136,6 @@ Directory Hierarchy:
 /arch			Architecture specific files
   /arc			Files generic to ARC architecture
   /arm			Files generic to ARM architecture
-  /avr32		Files generic to AVR32 architecture
   /m68k			Files generic to m68k architecture
   /microblaze		Files generic to microblaze architecture
   /mips			Files generic to MIPS architecture
@@ -320,9 +319,6 @@ The following options need to be configured:
 
 - Board Type:	Define exactly one, e.g. CONFIG_MPC8540ADS.
 
-- CPU Daughterboard Type: (if CONFIG_ATSTK1000 is defined)
-		Define exactly one, e.g. CONFIG_ATSTK1002
-
 - Marvell Family Member
 		CONFIG_SYS_MVFS		- define it if you want to enable
 					  multiple fs option at one time
@@ -4810,9 +4806,9 @@ details; basically, the header defines the following image properties:
   LynxOS, pSOS, QNX, RTEMS, INTEGRITY;
   Currently supported: Linux, NetBSD, VxWorks, QNX, RTEMS, LynxOS,
   INTEGRITY).
-* Target CPU Architecture (Provisions for Alpha, ARM, AVR32, Intel x86,
+* Target CPU Architecture (Provisions for Alpha, ARM, Intel x86,
   IA64, MIPS, NDS32, Nios II, PowerPC, IBM S390, SuperH, Sparc, Sparc 64 Bit;
-  Currently supported: ARM, AVR32, Intel x86, MIPS, NDS32, Nios II, PowerPC).
+  Currently supported: ARM, Intel x86, MIPS, NDS32, Nios II, PowerPC).
 * Compression Type (uncompressed, gzip, bzip2)
 * Load Address
 * Entry Point
arch/Kconfig +0 -5
index d04ab9f177..fe1b991041 100644
@@ -23,10 +23,6 @@ config ARM
 	select HAVE_PRIVATE_LIBGCC if !ARM64
 	select SUPPORT_OF_CONTROL
 
-config AVR32
-	bool "AVR32 architecture"
-	select CREATE_ARCH_SYMLINK
-
 config M68K
 	bool "M68000 architecture"
 	select HAVE_PRIVATE_LIBGCC
@@ -166,7 +162,6 @@ config SYS_CONFIG_NAME
 
 source "arch/arc/Kconfig"
 source "arch/arm/Kconfig"
-source "arch/avr32/Kconfig"
 source "arch/m68k/Kconfig"
 source "arch/microblaze/Kconfig"
 source "arch/mips/Kconfig"
arch/avr32/Kconfig deleted +0 -30
deleted file mode 100644
index eb3377486f..0000000000
@@ -1,30 +0,0 @@
-menu "AVR32 architecture"
-	depends on AVR32
-
-config SYS_ARCH
-	default "avr32"
-
-choice
-	prompt "Target select"
-	optional
-
-config TARGET_ATNGW100
-	bool "Support atngw100"
-
-config TARGET_ATNGW100MKII
-	bool "Support atngw100mkii"
-
-config TARGET_ATSTK1002
-	bool "Support atstk1002"
-
-config TARGET_GRASSHOPPER
-	bool "Support grasshopper"
-
-endchoice
-
-source "board/atmel/atngw100/Kconfig"
-source "board/atmel/atngw100mkii/Kconfig"
-source "board/atmel/atstk1000/Kconfig"
-source "board/in-circuit/grasshopper/Kconfig"
-
-endmenu
arch/avr32/Makefile deleted +0 -8
deleted file mode 100644
index e9b3184379..0000000000
@@ -1,8 +0,0 @@
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-head-y := arch/avr32/cpu/start.o
-
-libs-y += arch/avr32/cpu/
-libs-y += arch/avr32/lib/
arch/avr32/config.mk deleted +0 -17
deleted file mode 100644
index 469185e8b4..0000000000
@@ -1,17 +0,0 @@
-#
-# (C) Copyright 2000-2002
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-ifeq ($(CROSS_COMPILE),)
-CROSS_COMPILE := avr32-linux-
-endif
-
-CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000
-
-PLATFORM_RELFLAGS	+= -ffixed-r5 -fPIC -mno-init-got -mrelax
-PLATFORM_RELFLAGS	+= -ffunction-sections -fdata-sections
-
-LDFLAGS_u-boot		= --gc-sections --relax
arch/avr32/cpu/Makefile deleted +0 -21
deleted file mode 100644
index e111db3e75..0000000000
@@ -1,21 +0,0 @@
-#
-# (C) Copyright 2000-2006
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-#
-# Copyright (C) 2005-2006 Atmel Corporation.
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-extra-y			+= start.o
-
-obj-y			+= cpu.o
-obj-$(CONFIG_SYS_HSDRAMC) += hsdramc.o
-obj-y			+= exception.o
-obj-y			+= cache.o
-obj-y			+= interrupts.o
-obj-$(CONFIG_PORTMUX_PIO) += portmux-pio.o
-obj-$(CONFIG_PORTMUX_GPIO) += portmux-gpio.o
-obj-y += mmc.o
-
-obj-$(if $(filter at32ap700x,$(SOC)),y) += at32ap700x/
arch/avr32/cpu/at32ap700x/Makefile deleted +0 -7
deleted file mode 100644
index 06f18963e2..0000000000
@@ -1,7 +0,0 @@
-#
-# Copyright (C) 2005-2006 Atmel Corporation
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y	:= portmux.o clk.o mmu.o
arch/avr32/cpu/at32ap700x/clk.c deleted +0 -82

82 lines not on this page · raw message

arch/avr32/cpu/at32ap700x/mmu.c deleted +0 -78

78 lines not on this page · raw message

arch/avr32/cpu/at32ap700x/portmux.c deleted +0 -278

278 lines not on this page · raw message

arch/avr32/cpu/at32ap700x/sm.h deleted +0 -204

204 lines not on this page · raw message

arch/avr32/cpu/cache.c deleted +0 -81

81 lines not on this page · raw message

arch/avr32/cpu/config.mk deleted +0 -6
deleted file mode 100644
index 3d2d817f8f..0000000000
@@ -1,6 +0,0 @@
-#
-# Copyright (C) 2005-2006 Atmel Corporation
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-PLATFORM_RELFLAGS       += -mcpu=ap7000
arch/avr32/cpu/cpu.c deleted +0 -73

73 lines not on this page · raw message

arch/avr32/cpu/exception.c deleted +0 -108

108 lines not on this page · raw message

arch/avr32/cpu/hsdramc.c deleted +0 -101

101 lines not on this page · raw message

arch/avr32/cpu/hsdramc1.h deleted +0 -143

143 lines not on this page · raw message

arch/avr32/cpu/hsmc3.h deleted +0 -126

126 lines not on this page · raw message

arch/avr32/cpu/interrupts.c deleted +0 -112

112 lines not on this page · raw message

arch/avr32/cpu/mmc.c deleted +0 -16
deleted file mode 100644
index 26ba3a24e4..0000000000
@@ -1,16 +0,0 @@
-/*
- * Copyright (C) 2004-2006 Atmel Corporation
- * Copyright (C) 2015 Andreas Bießmann <[email protected]>
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-#include <common.h>
-#include <atmel_mci.h>
-#include <asm/arch/hardware.h>
-
-/* provide cpu_mmc_init, to overwrite provide board_mmc_init */
-int cpu_mmc_init(bd_t *bd)
-{
-	/* This calls the atmel_mci_init in gen_atmel_mci.c */
-	return atmel_mci_init((void *)ATMEL_BASE_MMCI);
-}
arch/avr32/cpu/portmux-gpio.c deleted +0 -91

91 lines not on this page · raw message

arch/avr32/cpu/portmux-pio.c deleted +0 -76

76 lines not on this page · raw message

arch/avr32/cpu/start.S deleted +0 -268

268 lines not on this page · raw message

arch/avr32/cpu/u-boot.lds deleted +0 -58

58 lines not on this page · raw message

arch/avr32/include/asm/arch-at32ap700x/addrspace.h deleted +0 -65

65 lines not on this page · raw message

arch/avr32/include/asm/arch-at32ap700x/cacheflush.h deleted +0 -65

65 lines not on this page · raw message

arch/avr32/include/asm/arch-at32ap700x/chip-features.h deleted +0 -24
deleted file mode 100644
index 822286df5f..0000000000
@@ -1,24 +0,0 @@
-/*
- * Copyright (C) 2007 Atmel Corporation
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-#ifndef __ASM_AVR32_ARCH_CHIP_FEATURES_H__
-#define __ASM_AVR32_ARCH_CHIP_FEATURES_H__
-
-/* Currently, all the AP700x chips have these */
-#define AT32AP700x_CHIP_HAS_USART
-#define AT32AP700x_CHIP_HAS_MMCI
-#define AT32AP700x_CHIP_HAS_SPI
-
-/* Only AP7000 has ethernet interface */
-#ifdef CONFIG_AT32AP7000
-#define AT32AP700x_CHIP_HAS_MACB
-#endif
-
-/* AP7000 and AP7002 have LCD controller, but AP7001 does not */
-#if defined(CONFIG_AT32AP7000) || defined(CONFIG_AT32AP7002)
-#define AT32AP700x_CHIP_HAS_LCDC
-#endif
-
-#endif /* __ASM_AVR32_ARCH_CHIP_FEATURES_H__ */
arch/avr32/include/asm/arch-at32ap700x/clk.h deleted +0 -175

175 lines not on this page · raw message

arch/avr32/include/asm/arch-at32ap700x/gpio.h deleted +0 -48

48 lines not on this page · raw message

arch/avr32/include/asm/arch-at32ap700x/hardware.h deleted +0 -70

70 lines not on this page · raw message

arch/avr32/include/asm/arch-at32ap700x/hmatrix.h deleted +0 -45

45 lines not on this page · raw message

arch/avr32/include/asm/arch-at32ap700x/mmu.h deleted +0 -66

66 lines not on this page · raw message

arch/avr32/include/asm/arch-at32ap700x/portmux.h deleted +0 -76

76 lines not on this page · raw message

arch/avr32/include/asm/arch-common/portmux-pio.h deleted +0 -122

122 lines not on this page · raw message

arch/avr32/include/asm/bitops.h deleted +0 -14
deleted file mode 100644
index 0d425c20f9..0000000000
@@ -1,14 +0,0 @@
-/*
- * Copyright (C) 2006 Atmel Corporation
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-#ifndef __ASM_AVR32_BITOPS_H
-#define __ASM_AVR32_BITOPS_H
-
-#include <asm-generic/bitops/fls.h>
-#include <asm-generic/bitops/__fls.h>
-#include <asm-generic/bitops/fls64.h>
-#include <asm-generic/bitops/__ffs.h>
-
-#endif /* __ASM_AVR32_BITOPS_H */
arch/avr32/include/asm/byteorder.h deleted +0 -21
deleted file mode 100644
index 25e9aff425..0000000000
@@ -1,21 +0,0 @@
-/*
- * Copyright (C) 2006 Atmel Corporation
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-#ifndef __ASM_AVR32_BYTEORDER_H
-#define __ASM_AVR32_BYTEORDER_H
-
-#include <asm/types.h>
-
-#define __arch__swab32(x) __builtin_bswap_32(x)
-#define __arch__swab16(x) __builtin_bswap_16(x)
-
-#if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
-# define __BYTEORDER_HAS_U64__
-# define __SWAB_64_THRU_32__
-#endif
-
-#include <linux/byteorder/big_endian.h>
-
-#endif /* __ASM_AVR32_BYTEORDER_H */
arch/avr32/include/asm/cache.h deleted +0 -25
deleted file mode 100644
index 486284398e..0000000000
@@ -1,25 +0,0 @@
-/*
- * Copyright (c) 2011 The Chromium OS Authors.
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#ifndef __AVR32_CACHE_H__
-#define __AVR32_CACHE_H__
-
-/*
- * Since the AVR32 architecture has a queryable cacheline size with a maximum
- * value of 256 we set the DMA buffer alignemnt requirement to this maximum
- * value.  The board config can override this if it knows that the cacheline
- * size is a smaller value.  AVR32 boards use the CONFIG_SYS_DCACHE_LINESZ
- * macro to specify cache line size, so if it is set we use it instead.
- */
-#ifdef CONFIG_SYS_CACHELINE_SIZE
-#define ARCH_DMA_MINALIGN	CONFIG_SYS_CACHELINE_SIZE
-#elif defined(CONFIG_SYS_DCACHE_LINESZ)
-#define ARCH_DMA_MINALIGN	CONFIG_SYS_DCACHE_LINESZ
-#else
-#define ARCH_DMA_MINALIGN	256
-#endif
-
-#endif /* __AVR32_CACHE_H__ */
arch/avr32/include/asm/config.h deleted +0 -13
deleted file mode 100644
index 529fe227a6..0000000000
@@ -1,13 +0,0 @@
-/*
- * Copyright 2009 Freescale Semiconductor, Inc.
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#ifndef _ASM_CONFIG_H_
-#define _ASM_CONFIG_H_
-
-#define CONFIG_NEEDS_MANUAL_RELOC
-#define CONFIG_SYS_GENERIC_GLOBAL_DATA
-
-#endif
arch/avr32/include/asm/dma-mapping.h deleted +0 -55

55 lines not on this page · raw message

arch/avr32/include/asm/global_data.h deleted +0 -18
deleted file mode 100644
index 60abd00782..0000000000
@@ -1,18 +0,0 @@
-/*
- * Copyright (C) 2004-2006 Atmel Corporation
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-#ifndef __ASM_GLOBAL_DATA_H__
-#define __ASM_GLOBAL_DATA_H__
-
-/* Architecture-specific global data */
-struct arch_global_data {
-	unsigned long cpu_hz;		/* cpu core clock frequency */
-};
-
-#include <asm-generic/global_data.h>
-
-#define DECLARE_GLOBAL_DATA_PTR register gd_t *gd asm("r5")
-
-#endif /* __ASM_GLOBAL_DATA_H__ */
arch/avr32/include/asm/hmatrix-common.h deleted +0 -115

40 lines not on this page · raw message

arch/avr32/include/asm/io.h deleted +0 -77

77 lines not on this page · raw message

arch/avr32/include/asm/linkage.h deleted +0 -0
deleted file mode 100644
index e69de29bb2..0000000000
arch/avr32/include/asm/posix_types.h deleted +0 -128

128 lines not on this page · raw message

arch/avr32/include/asm/processor.h deleted +0 -81

81 lines not on this page · raw message

arch/avr32/include/asm/ptrace.h deleted +0 -132

132 lines not on this page · raw message

arch/avr32/include/asm/sdram.h deleted +0 -37
deleted file mode 100644
index 83d515bda2..0000000000

Lines of this file are not shown. View the raw message.

arch/avr32/include/asm/sections.h deleted +0 -16
deleted file mode 100644
index 6b7804fe02..0000000000

Lines of this file are not shown. View the raw message.

arch/avr32/include/asm/setup.h deleted +0 -134

134 lines not on this page · raw message

arch/avr32/include/asm/string.h deleted +0 -12
deleted file mode 100644
index dba0219fb3..0000000000

Lines of this file are not shown. View the raw message.

arch/avr32/include/asm/sysreg.h deleted +0 -281

281 lines not on this page · raw message

arch/avr32/include/asm/types.h deleted +0 -71

71 lines not on this page · raw message

arch/avr32/include/asm/u-boot.h deleted +0 -18
deleted file mode 100644
index 7d48e9a46b..0000000000

Lines of this file are not shown. View the raw message.

arch/avr32/include/asm/unaligned.h deleted +0 -1
deleted file mode 100644
index 6cecbbb211..0000000000

Lines of this file are not shown. View the raw message.

arch/avr32/lib/Makefile deleted +0 -13
deleted file mode 100644
index 8108ae5272..0000000000

Lines of this file are not shown. View the raw message.

arch/avr32/lib/bootm.c deleted +0 -213

213 lines not on this page · raw message

arch/avr32/lib/dram_init.c deleted +0 -17
deleted file mode 100644
index 79c2455bd6..0000000000

Lines of this file are not shown. View the raw message.

arch/avr32/lib/interrupts.c deleted +0 -35
deleted file mode 100644
index 5f3a49e152..0000000000

Lines of this file are not shown. View the raw message.

arch/avr32/lib/memset.S deleted +0 -65

65 lines not on this page · raw message

board/atmel/atngw100/Kconfig deleted +0 -15
deleted file mode 100644
index 28037b67b4..0000000000

Lines of this file are not shown. View the raw message.

board/atmel/atngw100/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 1c319f66b4..0000000000

Lines of this file are not shown. View the raw message.

board/atmel/atngw100/Makefile deleted +0 -6
deleted file mode 100644
index f9b93c9738..0000000000

Lines of this file are not shown. View the raw message.

board/atmel/atngw100/atngw100.c deleted +0 -109

109 lines not on this page · raw message

board/atmel/atngw100mkii/Kconfig deleted +0 -15
deleted file mode 100644
index ca04269080..0000000000

Lines of this file are not shown. View the raw message.

board/atmel/atngw100mkii/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 54eb1da4c2..0000000000

Lines of this file are not shown. View the raw message.

board/atmel/atngw100mkii/Makefile deleted +0 -6
deleted file mode 100644
index 90bf5bc84e..0000000000

Lines of this file are not shown. View the raw message.

board/atmel/atngw100mkii/atngw100mkii.c deleted +0 -125

125 lines not on this page · raw message

board/atmel/atstk1000/Kconfig deleted +0 -15
deleted file mode 100644
index b4fa9a2b38..0000000000

Lines of this file are not shown. View the raw message.

board/atmel/atstk1000/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 1070f98e53..0000000000

Lines of this file are not shown. View the raw message.

board/atmel/atstk1000/Makefile deleted +0 -9
deleted file mode 100644
index ad76631b97..0000000000

Lines of this file are not shown. View the raw message.

board/atmel/atstk1000/atstk1000.c deleted +0 -89

89 lines not on this page · raw message

board/in-circuit/grasshopper/Kconfig deleted +0 -15
deleted file mode 100644
index 30e3855ae0..0000000000

Lines of this file are not shown. View the raw message.

board/in-circuit/grasshopper/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 4abdea8da8..0000000000

Lines of this file are not shown. View the raw message.

board/in-circuit/grasshopper/Makefile deleted +0 -10
deleted file mode 100644
index 04576358fd..0000000000

Lines of this file are not shown. View the raw message.

board/in-circuit/grasshopper/grasshopper.c deleted +0 -87

87 lines not on this page · raw message

cmd/bdinfo.c +0 -11
index 89b73f4fb9..401a694712 100644

Lines of this file are not shown. View the raw message.

common/board_r.c +3 -10
index adc1f1937e..3341a528b0 100644

Lines of this file are not shown. View the raw message.

configs/atngw100_defconfig deleted +0 -26
deleted file mode 100644
index 17db763867..0000000000

Lines of this file are not shown. View the raw message.

configs/atngw100mkii_defconfig deleted +0 -26
deleted file mode 100644
index 887c5fb8d7..0000000000

Lines of this file are not shown. View the raw message.

configs/atstk1002_defconfig deleted +0 -22
deleted file mode 100644
index 0fa7969e47..0000000000

Lines of this file are not shown. View the raw message.

configs/grasshopper_defconfig deleted +0 -18
deleted file mode 100644
index 024231dbc6..0000000000

Lines of this file are not shown. View the raw message.

doc/README.AVR32 deleted +0 -25
deleted file mode 100644
index 632cc0546d..0000000000

Lines of this file are not shown. View the raw message.

doc/README.AVR32-port-muxing deleted +0 -208

208 lines not on this page · raw message

doc/README.atmel_mci +1 -2
index 6043dabff7..6c027b089f 100644

Lines of this file are not shown. View the raw message.

doc/README.scrapyard +0 -6
index 5e5b07d95e..fc0873431a 100644

Lines of this file are not shown. View the raw message.

doc/git-mailrc +1 -2
index 04c6c8df9d..af10a3d68e 100644

Lines of this file are not shown. View the raw message.

drivers/i2c/soft_i2c.c +3 -2
index de3758d946..50597a7d5a 100644

Lines of this file are not shown. View the raw message.

drivers/spi/Kconfig +2 -2
index bef864f46e..fe01c737d7 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/atmel_usba_udc.h +0 -5
index 92e462db60..c6d12d3a8e 100644

Lines of this file are not shown. View the raw message.

drivers/usb/musb-new/musb_io.h +1 -1
index 76682120f4..a4f4a6f8f4 100644

Lines of this file are not shown. View the raw message.

drivers/video/atmel_lcdfb.c +0 -4
index ed2bd306c6..2b9482a091 100644

Lines of this file are not shown. View the raw message.

drivers/video/cfb_console.c +1 -1
index d75abb660f..f54802052e 100644

Lines of this file are not shown. View the raw message.

examples/standalone/stubs.c +0 -13
index a6a9fcf189..9c7a8c00f8 100644

Lines of this file are not shown. View the raw message.

include/asm-generic/u-boot.h +0 -4
index b8f9c7aedb..789592992e 100644

Lines of this file are not shown. View the raw message.

include/configs/atngw100.h deleted +0 -129

129 lines not on this page · raw message

include/configs/atngw100mkii.h deleted +0 -150

150 lines not on this page · raw message

include/configs/atstk1002.h deleted +0 -148

148 lines not on this page · raw message

include/configs/grasshopper.h deleted +0 -145

145 lines not on this page · raw message

include/linux/fb.h +1 -1
index fcf331b79f..c820a4f77b 100644

Lines of this file are not shown. View the raw message.

include/linux/stat.h +2 -2
index 1af0876621..5eba6334e6 100644

Lines of this file are not shown. View the raw message.

scripts/checkstack.pl +0 -5
index dd8397894d..f4f4a5fa47 100755

Lines of this file are not shown. View the raw message.

scripts/config_whitelist.txt +0 -8
index 95f27b6ead..5d9b2dc44f 100644

Lines of this file are not shown. View the raw message.

tools/buildman/README +2 -9
index f66527665a..aaee58152b 100644

Lines of this file are not shown. View the raw message.

tools/moveconfig.py +0 -1
index 95ef352f05..7aa96120a1 100755

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.11.0

Part of the diff is not shown here. View the raw message.

#1 lore raw

PATCH v2 1/1 avr32: Retire AVR32 for good

Hello Andy,

Am 05.07.2017 um 13:27 schrieb Andy Shevchenko:

Quoted 10 lines

AVR32 is gone. It's already more than two years for no support in Buildroot, even longer there is no support in GCC (last version is heavily patched 4.2.4).

Linux kernel v4.12 got rid of it (and v4.11 didn't build successfully).

There is no good point to keep this support in U-Boot either.

Quoted 8 lines

---
In v2:
- add tags
- remove leftovers in config_whitelist.txt using script (Tom)
- remove leftovers of grasshopper board (Heiko)

To check the change, the best way is to apply and run

	% git whatchanged --stat -p -M -C -D

Thanks!

bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany