From 26202873bb51fafdaa51be3e8de7aab9beb49f70 Mon Sep 17 00:00:00 2001 From: Hans-Christian Noren Egtvedt Date: Sun, 26 Feb 2017 12:56:39 +0100 Subject: avr32: remove support for AVR32 architecture MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch drops support for AVR32 architecture from the Linux kernel. The AVR32 architecture is not keeping up with the development of the kernel, and since it shares so much of the drivers with Atmel ARM SoC, it is starting to hinder these drivers to develop swiftly. Also, all AVR32 AP7 SoC processors are end of lifed from Atmel (now Microchip). Finally, the GCC toolchain is stuck at version 4.2.x, and has not received any patches since the last release from Atmel; 4.2.4-atmel.1.1.3.avr32linux.1. When building kernel v4.10, this toolchain is no longer able to properly link the network stack. Haavard and I have came to the conclusion that we feel keeping AVR32 on life support offers more obstacles for Atmel ARMs, than it gives joy to AVR32 users. I also suspect there are very few AVR32 users left today, if anybody at all. Signed-off-by: Hans-Christian Noren Egtvedt Signed-off-by: HÃ¥vard Skinnemoen Signed-off-by: Nicolas Ferre Acked-by: Andy Shevchenko Acked-by: Boris Brezillon --- arch/avr32/boards/atngw100/Kconfig | 65 ------ arch/avr32/boards/atngw100/Kconfig_mrmt | 80 ------- arch/avr32/boards/atngw100/Makefile | 3 - arch/avr32/boards/atngw100/evklcd10x.c | 178 --------------- arch/avr32/boards/atngw100/flash.c | 98 -------- arch/avr32/boards/atngw100/mrmt.c | 382 -------------------------------- arch/avr32/boards/atngw100/setup.c | 324 --------------------------- arch/avr32/boards/atstk1000/Kconfig | 109 --------- arch/avr32/boards/atstk1000/Makefile | 5 - arch/avr32/boards/atstk1000/atstk1000.h | 17 -- arch/avr32/boards/atstk1000/atstk1002.c | 330 --------------------------- arch/avr32/boards/atstk1000/atstk1003.c | 162 -------------- arch/avr32/boards/atstk1000/atstk1004.c | 164 -------------- arch/avr32/boards/atstk1000/flash.c | 98 -------- arch/avr32/boards/atstk1000/setup.c | 127 ----------- arch/avr32/boards/favr-32/Kconfig | 22 -- arch/avr32/boards/favr-32/Makefile | 1 - arch/avr32/boards/favr-32/flash.c | 98 -------- arch/avr32/boards/favr-32/setup.c | 366 ------------------------------ arch/avr32/boards/hammerhead/Kconfig | 43 ---- arch/avr32/boards/hammerhead/Makefile | 1 - arch/avr32/boards/hammerhead/flash.c | 381 ------------------------------- arch/avr32/boards/hammerhead/flash.h | 6 - arch/avr32/boards/hammerhead/setup.c | 247 --------------------- arch/avr32/boards/merisc/Kconfig | 5 - arch/avr32/boards/merisc/Makefile | 1 - arch/avr32/boards/merisc/display.c | 65 ------ arch/avr32/boards/merisc/flash.c | 139 ------------ arch/avr32/boards/merisc/merisc.h | 18 -- arch/avr32/boards/merisc/merisc_sysfs.c | 64 ------ arch/avr32/boards/merisc/setup.c | 305 ------------------------- arch/avr32/boards/mimc200/Makefile | 1 - arch/avr32/boards/mimc200/flash.c | 143 ------------ arch/avr32/boards/mimc200/setup.c | 236 -------------------- 34 files changed, 4284 deletions(-) delete mode 100644 arch/avr32/boards/atngw100/Kconfig delete mode 100644 arch/avr32/boards/atngw100/Kconfig_mrmt delete mode 100644 arch/avr32/boards/atngw100/Makefile delete mode 100644 arch/avr32/boards/atngw100/evklcd10x.c delete mode 100644 arch/avr32/boards/atngw100/flash.c delete mode 100644 arch/avr32/boards/atngw100/mrmt.c delete mode 100644 arch/avr32/boards/atngw100/setup.c delete mode 100644 arch/avr32/boards/atstk1000/Kconfig delete mode 100644 arch/avr32/boards/atstk1000/Makefile delete mode 100644 arch/avr32/boards/atstk1000/atstk1000.h delete mode 100644 arch/avr32/boards/atstk1000/atstk1002.c delete mode 100644 arch/avr32/boards/atstk1000/atstk1003.c delete mode 100644 arch/avr32/boards/atstk1000/atstk1004.c delete mode 100644 arch/avr32/boards/atstk1000/flash.c delete mode 100644 arch/avr32/boards/atstk1000/setup.c delete mode 100644 arch/avr32/boards/favr-32/Kconfig delete mode 100644 arch/avr32/boards/favr-32/Makefile delete mode 100644 arch/avr32/boards/favr-32/flash.c delete mode 100644 arch/avr32/boards/favr-32/setup.c delete mode 100644 arch/avr32/boards/hammerhead/Kconfig delete mode 100644 arch/avr32/boards/hammerhead/Makefile delete mode 100644 arch/avr32/boards/hammerhead/flash.c delete mode 100644 arch/avr32/boards/hammerhead/flash.h delete mode 100644 arch/avr32/boards/hammerhead/setup.c delete mode 100644 arch/avr32/boards/merisc/Kconfig delete mode 100644 arch/avr32/boards/merisc/Makefile delete mode 100644 arch/avr32/boards/merisc/display.c delete mode 100644 arch/avr32/boards/merisc/flash.c delete mode 100644 arch/avr32/boards/merisc/merisc.h delete mode 100644 arch/avr32/boards/merisc/merisc_sysfs.c delete mode 100644 arch/avr32/boards/merisc/setup.c delete mode 100644 arch/avr32/boards/mimc200/Makefile delete mode 100644 arch/avr32/boards/mimc200/flash.c delete mode 100644 arch/avr32/boards/mimc200/setup.c (limited to 'arch/avr32/boards') diff --git a/arch/avr32/boards/atngw100/Kconfig b/arch/avr32/boards/atngw100/Kconfig deleted file mode 100644 index 4e55617ade2d..000000000000 --- a/arch/avr32/boards/atngw100/Kconfig +++ /dev/null @@ -1,65 +0,0 @@ -# NGW100 customization - -if BOARD_ATNGW100_COMMON - -config BOARD_ATNGW100_MKII_LCD - bool "Enable ATNGW100 mkII LCD interface" - depends on BOARD_ATNGW100_MKII - help - This enables the LCD controller (LCDC) in the AT32AP7000. Since the - LCDC is multiplexed with MACB1 (LAN) Ethernet port, only one can be - enabled at a time. - - This choice enables the LCDC and disables the MACB1 interface marked - LAN on the PCB. - -choice - prompt "Select an NGW100 add-on board to support" - default BOARD_ATNGW100_ADDON_NONE - -config BOARD_ATNGW100_ADDON_NONE - bool "None" - -config BOARD_ATNGW100_EVKLCD10X - bool "EVKLCD10X addon board" - depends on BOARD_ATNGW100_MKI || BOARD_ATNGW100_MKII_LCD - help - This enables support for the EVKLCD100 (QVGA) or EVKLCD101 (VGA) - addon board for the NGW100 and NGW100 mkII. By enabling this the LCD - controller and AC97 controller is added as platform devices. - -config BOARD_ATNGW100_MRMT - bool "Mediama RMT1/2 add-on board" - help - This enables support for the Mediama RMT1 or RMT2 board. - RMT provides LCD support, AC97 codec and other - optional peripherals to the Atmel NGW100. - - This choice disables the detect pin and the write-protect pin for the - MCI platform device, since it conflicts with the LCD platform device. - The MCI pins can be reenabled by editing the "add device function" but - this may break the setup for other displays that use these pins. - -endchoice - -choice - prompt "LCD panel resolution on EVKLCD10X" - depends on BOARD_ATNGW100_EVKLCD10X - default BOARD_ATNGW100_EVKLCD10X_VGA - -config BOARD_ATNGW100_EVKLCD10X_QVGA - bool "QVGA (320x240)" - -config BOARD_ATNGW100_EVKLCD10X_VGA - bool "VGA (640x480)" - -config BOARD_ATNGW100_EVKLCD10X_POW_QVGA - bool "Powertip QVGA (320x240)" - -endchoice - -if BOARD_ATNGW100_MRMT -source "arch/avr32/boards/atngw100/Kconfig_mrmt" -endif - -endif # BOARD_ATNGW100_COMMON diff --git a/arch/avr32/boards/atngw100/Kconfig_mrmt b/arch/avr32/boards/atngw100/Kconfig_mrmt deleted file mode 100644 index 9a199a207f3c..000000000000 --- a/arch/avr32/boards/atngw100/Kconfig_mrmt +++ /dev/null @@ -1,80 +0,0 @@ -# RMT for NGW100 customization - -choice - prompt "RMT Version" - help - Select the RMTx board version. - -config BOARD_MRMT_REV1 - bool "RMT1" -config BOARD_MRMT_REV2 - bool "RMT2" - -endchoice - -config BOARD_MRMT_AC97 - bool "Enable AC97 CODEC" - help - Enable the UCB1400 AC97 CODEC driver. - -choice - prompt "Touchscreen Driver" - default BOARD_MRMT_ADS7846_TS - -config BOARD_MRMT_UCB1400_TS - bool "Use UCB1400 Touchscreen" - -config BOARD_MRMT_ADS7846_TS - bool "Use ADS7846 Touchscreen" - -endchoice - -choice - prompt "RMTx LCD Selection" - default BOARD_MRMT_LCD_DISABLE - -config BOARD_MRMT_LCD_DISABLE - bool "LCD Disabled" - -config BOARD_MRMT_LCD_LQ043T3DX0X - bool "Sharp LQ043T3DX0x or compatible" - help - If using RMT2, be sure to load the resistor pack selectors accordingly - -if BOARD_MRMT_REV2 -config BOARD_MRMT_LCD_KWH043GM08 - bool "Formike KWH043GM08 or compatible" - help - Be sure to load the RMT2 resistor pack selectors accordingly -endif - -endchoice - -if !BOARD_MRMT_LCD_DISABLE -config BOARD_MRMT_BL_PWM - bool "Use PWM control for LCD Backlight" - help - Use PWM driver for controlling LCD Backlight. - Otherwise, LCD Backlight is always on. -endif - -config BOARD_MRMT_RTC_I2C - bool "Use External RTC on I2C Bus" - help - RMT1 has an optional RTC device on the I2C bus. - It is a SII S35390A. Be sure to select the - matching RTC driver. - -choice - prompt "Wireless Module on ttyS2" - default BOARD_MRMT_WIRELESS_ZB - -config BOARD_MRMT_WIRELESS_ZB - bool "Use ZigBee/802.15.4 Module" - -config BOARD_MRMT_WIRELESS_BT - bool "Use Bluetooth (HCI) Module" - -config BOARD_MRMT_WIRELESS_NONE - bool "Not Installed" -endchoice diff --git a/arch/avr32/boards/atngw100/Makefile b/arch/avr32/boards/atngw100/Makefile deleted file mode 100644 index f4ebe42a8254..000000000000 --- a/arch/avr32/boards/atngw100/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -obj-y += setup.o flash.o -obj-$(CONFIG_BOARD_ATNGW100_EVKLCD10X) += evklcd10x.o -obj-$(CONFIG_BOARD_ATNGW100_MRMT) += mrmt.o diff --git a/arch/avr32/boards/atngw100/evklcd10x.c b/arch/avr32/boards/atngw100/evklcd10x.c deleted file mode 100644 index 64919b0da7aa..000000000000 --- a/arch/avr32/boards/atngw100/evklcd10x.c +++ /dev/null @@ -1,178 +0,0 @@ -/* - * Board-specific setup code for the ATEVKLCD10X addon board to the ATNGW100 - * Network Gateway - * - * Copyright (C) 2008 Atmel Corporation - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. - */ - -#include -#include -#include -#include -#include - -#include