svn commit: r336770 - in head/sys: arm/at91 arm/conf arm/include conf dev/nand dev/usb/controller dts/arm modules/dtb/atmel modules/usb modules/usb/at91dci

Warner Losh imp at FreeBSD.org
Fri Jul 27 18:28:24 UTC 2018


Author: imp
Date: Fri Jul 27 18:28:22 2018
New Revision: 336770
URL: https://svnweb.freebsd.org/changeset/base/336770

Log:
  Remove Atmel AT91RM9200 and AT91SAM9 support.
  
  The last known robust version of this code base was FreeBSD 8.2. There
  are no users of this on current, and all users of it have abandoned
  this platform or are in legacy mode with a prior version of FreeBSD.
  
  All known users on arm@ approved this removal, and there were no
  objections.
  
  Differential Revision: https://reviews.freebsd.org/D16312

Deleted:
  head/sys/arm/at91/at91.c
  head/sys/arm/at91/at91_aic.c
  head/sys/arm/at91/at91_aicreg.h
  head/sys/arm/at91/at91_cfata.c
  head/sys/arm/at91/at91_common.c
  head/sys/arm/at91/at91_gpio.h
  head/sys/arm/at91/at91_machdep.c
  head/sys/arm/at91/at91_mci.c
  head/sys/arm/at91/at91_mcireg.h
  head/sys/arm/at91/at91_ohci.c
  head/sys/arm/at91/at91_ohci_fdt.c
  head/sys/arm/at91/at91_pdcreg.h
  head/sys/arm/at91/at91_pinctrl.c
  head/sys/arm/at91/at91_pio.c
  head/sys/arm/at91/at91_pio_sam9g20.h
  head/sys/arm/at91/at91_pio_sam9g45.h
  head/sys/arm/at91/at91_pioreg.h
  head/sys/arm/at91/at91_piovar.h
  head/sys/arm/at91/at91_pit.c
  head/sys/arm/at91/at91_pitreg.h
  head/sys/arm/at91/at91_pmc.c
  head/sys/arm/at91/at91_pmcreg.h
  head/sys/arm/at91/at91_pmcvar.h
  head/sys/arm/at91/at91_reset.S
  head/sys/arm/at91/at91_rst.c
  head/sys/arm/at91/at91_rstreg.h
  head/sys/arm/at91/at91_rtc.c
  head/sys/arm/at91/at91_rtcreg.h
  head/sys/arm/at91/at91_sdramc.c
  head/sys/arm/at91/at91_shdwc.c
  head/sys/arm/at91/at91_smc.c
  head/sys/arm/at91/at91_smc.h
  head/sys/arm/at91/at91_spi.c
  head/sys/arm/at91/at91_spireg.h
  head/sys/arm/at91/at91_ssc.c
  head/sys/arm/at91/at91_sscreg.h
  head/sys/arm/at91/at91_st.c
  head/sys/arm/at91/at91_streg.h
  head/sys/arm/at91/at91_tcb.c
  head/sys/arm/at91/at91_twi.c
  head/sys/arm/at91/at91_twiio.h
  head/sys/arm/at91/at91_twireg.h
  head/sys/arm/at91/at91_usartreg.h
  head/sys/arm/at91/at91_wdt.c
  head/sys/arm/at91/at91_wdtreg.h
  head/sys/arm/at91/at91board.h
  head/sys/arm/at91/at91reg.h
  head/sys/arm/at91/at91rm9200.c
  head/sys/arm/at91/at91rm9200_devices.c
  head/sys/arm/at91/at91rm9200var.h
  head/sys/arm/at91/at91rm92reg.h
  head/sys/arm/at91/at91sam9260.c
  head/sys/arm/at91/at91sam9260reg.h
  head/sys/arm/at91/at91sam9g20.c
  head/sys/arm/at91/at91sam9g20reg.h
  head/sys/arm/at91/at91sam9g45.c
  head/sys/arm/at91/at91sam9g45reg.h
  head/sys/arm/at91/at91sam9x5.c
  head/sys/arm/at91/at91sam9x5reg.h
  head/sys/arm/at91/at91soc.c
  head/sys/arm/at91/at91soc.h
  head/sys/arm/at91/at91var.h
  head/sys/arm/at91/board_bwct.c
  head/sys/arm/at91/board_eb9200.c
  head/sys/arm/at91/board_ethernut5.c
  head/sys/arm/at91/board_hl200.c
  head/sys/arm/at91/board_hl201.c
  head/sys/arm/at91/board_kb920x.c
  head/sys/arm/at91/board_qila9g20.c
  head/sys/arm/at91/board_sam9260ek.c
  head/sys/arm/at91/board_sam9g20ek.c
  head/sys/arm/at91/board_sam9x25ek.c
  head/sys/arm/at91/board_sn9g45.c
  head/sys/arm/at91/board_tsc4370.c
  head/sys/arm/at91/files.at91
  head/sys/arm/at91/if_ate.c
  head/sys/arm/at91/if_atereg.h
  head/sys/arm/at91/if_macb.c
  head/sys/arm/at91/if_macbreg.h
  head/sys/arm/at91/if_macbvar.h
  head/sys/arm/at91/std.at91
  head/sys/arm/at91/std.at91sam9
  head/sys/arm/at91/std.at91sam9g45
  head/sys/arm/at91/std.atmel
  head/sys/arm/at91/std.bwct
  head/sys/arm/at91/std.eb9200
  head/sys/arm/at91/std.ethernut5
  head/sys/arm/at91/std.hl200
  head/sys/arm/at91/std.hl201
  head/sys/arm/at91/std.kb920x
  head/sys/arm/at91/std.qila9g20
  head/sys/arm/at91/std.sam9260ek
  head/sys/arm/at91/std.sam9g20ek
  head/sys/arm/at91/std.sam9x25ek
  head/sys/arm/at91/std.sn9g45
  head/sys/arm/at91/std.tsc4370
  head/sys/arm/at91/uart_bus_at91usart.c
  head/sys/arm/at91/uart_cpu_at91usart.c
  head/sys/arm/at91/uart_dev_at91usart.c
  head/sys/arm/conf/ATMEL
  head/sys/arm/conf/SAM9G20EK
  head/sys/arm/include/at91_gpio.h
  head/sys/dev/nand/nfc_at91.c
  head/sys/dev/nand/nfc_at91.h
  head/sys/dev/usb/controller/at91dci.c
  head/sys/dev/usb/controller/at91dci.h
  head/sys/dev/usb/controller/at91dci_atmelarm.c
  head/sys/dev/usb/controller/at91dci_fdt.c
  head/sys/dev/usb/controller/atmegadci_atmelarm.c
  head/sys/dev/usb/controller/musb_otg_atmelarm.c
  head/sys/dev/usb/controller/uss820dci_atmelarm.c
  head/sys/dts/arm/hl201.dts
  head/sys/dts/arm/sam9260ek.dts
  head/sys/modules/dtb/atmel/Makefile
  head/sys/modules/usb/at91dci/Makefile
Modified:
  head/sys/arm/conf/NOTES
  head/sys/conf/files
  head/sys/conf/options.arm
  head/sys/dev/usb/controller/usb_controller.c
  head/sys/modules/usb/Makefile

Modified: head/sys/arm/conf/NOTES
==============================================================================
--- head/sys/arm/conf/NOTES	Fri Jul 27 18:26:38 2018	(r336769)
+++ head/sys/arm/conf/NOTES	Fri Jul 27 18:28:22 2018	(r336770)
@@ -8,7 +8,6 @@ cpu	CPU_FA526
 cpu 	CPU_XSCALE_81342
 cpu	CPU_XSCALE_PXA2X0
 
-files	"../at91/files.at91"
 files	"../cavium/cns11xx/files.econa"
 files	"../mv/files.mv"
 files	"../mv/discovery/files.db78xxx"
@@ -31,17 +30,6 @@ options 	SOC_MV_KIRKWOOD
 options 	SOC_MV_ORION
 
 options 	ARM_MANY_BOARD
-device		at91_board_bwct
-device		at91_board_ethernut5
-device		at91_board_hl200
-device		at91_board_hl201
-device		at91_board_kb920x
-device		at91_board_qila9g20
-device		at91_board_sam9260ek
-device		at91_board_sam9g20ek
-device		at91_board_sam9x25ek
-device		at91_board_tsc4370
-device		at91rm9200
 device		nand
 
 # IIC

Modified: head/sys/conf/files
==============================================================================
--- head/sys/conf/files	Fri Jul 27 18:26:38 2018	(r336769)
+++ head/sys/conf/files	Fri Jul 27 18:28:22 2018	(r336770)
@@ -3237,10 +3237,7 @@ dev/ubsec/ubsec.c		optional ubsec
 #
 # USB controller drivers
 #
-dev/usb/controller/at91dci.c		optional at91dci
-dev/usb/controller/at91dci_atmelarm.c	optional at91dci at91rm9200
 dev/usb/controller/musb_otg.c		optional musb
-dev/usb/controller/musb_otg_atmelarm.c	optional musb at91rm9200
 dev/usb/controller/dwc_otg.c		optional dwcotg
 dev/usb/controller/dwc_otg_fdt.c	optional dwcotg fdt
 dev/usb/controller/ehci.c		optional ehci
@@ -3255,7 +3252,6 @@ dev/usb/controller/xhci_pci.c		optional xhci pci
 dev/usb/controller/saf1761_otg.c	optional saf1761otg
 dev/usb/controller/saf1761_otg_fdt.c	optional saf1761otg fdt
 dev/usb/controller/uss820dci.c		optional uss820dci
-dev/usb/controller/uss820dci_atmelarm.c	optional uss820dci at91rm9200
 dev/usb/controller/usb_controller.c	optional usb
 #
 # USB storage drivers

Modified: head/sys/conf/options.arm
==============================================================================
--- head/sys/conf/options.arm	Fri Jul 27 18:26:38 2018	(r336769)
+++ head/sys/conf/options.arm	Fri Jul 27 18:28:22 2018	(r336770)
@@ -70,13 +70,7 @@ XSCALE_CACHE_READ_WRITE_ALLOCATE	opt_global.h
 XSACLE_DISABLE_CCNT	opt_timer.h
 VERBOSE_INIT_ARM	opt_global.h
 VM_MAXUSER_ADDRESS	opt_global.h
-AT91_ATE_USE_RMII	opt_at91.h
-AT91_MACB_USE_RMII	opt_at91.h
-AT91_MCI_ALLOW_OVERCLOCK opt_at91.h
-AT91_MCI_HAS_4WIRE	opt_at91.h
-AT91_MCI_SLOT_B		opt_at91.h
 GFB_DEBUG		opt_gfb.h
 GFB_NO_FONT_LOADING	opt_gfb.h
 GFB_NO_MODE_CHANGE	opt_gfb.h
-AT91C_MAIN_CLOCK	opt_at91.h
 VFP			opt_global.h

Modified: head/sys/dev/usb/controller/usb_controller.c
==============================================================================
--- head/sys/dev/usb/controller/usb_controller.c	Fri Jul 27 18:26:38 2018	(r336769)
+++ head/sys/dev/usb/controller/usb_controller.c	Fri Jul 27 18:28:22 2018	(r336770)
@@ -131,7 +131,6 @@ DRIVER_MODULE(usbus, ehci, usb_driver, usb_devclass, 0
 DRIVER_MODULE(usbus, xhci, usb_driver, usb_devclass, 0, 0);
 
 /* Device Only Drivers */
-DRIVER_MODULE(usbus, at91_udp, usb_driver, usb_devclass, 0, 0);
 DRIVER_MODULE(usbus, musbotg, usb_driver, usb_devclass, 0, 0);
 DRIVER_MODULE(usbus, uss820dci, usb_driver, usb_devclass, 0, 0);
 DRIVER_MODULE(usbus, octusb, usb_driver, usb_devclass, 0, 0);

Modified: head/sys/modules/usb/Makefile
==============================================================================
--- head/sys/modules/usb/Makefile	Fri Jul 27 18:26:38 2018	(r336769)
+++ head/sys/modules/usb/Makefile	Fri Jul 27 18:28:22 2018	(r336770)
@@ -44,7 +44,7 @@ MAKE+=" DEBUG_FLAGS+=-DUSB_REQ_DEBUG"
 # MK_SOURCELESS_UCODE option (see below).
 
 SUBDIR = usb
-SUBDIR += ${_dwc_otg} ehci ${_musb} ohci uhci xhci ${_uss820dci} ${_at91dci} \
+SUBDIR += ${_dwc_otg} ehci ${_musb} ohci uhci xhci ${_uss820dci} \
 	  ${_atmegadci} ${_avr32dci} ${_rsu} ${_rsufw} ${_saf1761otg}
 SUBDIR += ${_rum} ${_run} ${_runfw} ${_uath} upgt usie ural ${_zyd} ${_urtw} 
 SUBDIR += atp cfumass uhid uhid_snes ukbd ums udbp ufm uep wmt wsp ugold uled
@@ -84,7 +84,6 @@ _urtw=		urtw
 .endif
 
 .if ${MACHINE_CPUARCH} == "arm"
-_at91dci=	at91dci
 _atmegadci=	atmegadci
 _dwc_otg=	dwc_otg
 _musb=		musb


More information about the svn-src-all mailing list