svn commit: r238846 - in head/sys/arm: at91 conf

Warner Losh imp at FreeBSD.org
Fri Jul 27 16:38:03 UTC 2012


Author: imp
Date: Fri Jul 27 16:38:02 2012
New Revision: 238846
URL: http://svn.freebsd.org/changeset/base/238846

Log:
  Add new at91sam9g45 support and sn9g45 board to the ATMEL kernel.
  Adapt SN9G45 board support to cope with multi-board.

Modified:
  head/sys/arm/at91/board_sn9g45.c
  head/sys/arm/at91/std.atmel
  head/sys/arm/conf/ATMEL

Modified: head/sys/arm/at91/board_sn9g45.c
==============================================================================
--- head/sys/arm/at91/board_sn9g45.c	Fri Jul 27 14:48:41 2012	(r238845)
+++ head/sys/arm/at91/board_sn9g45.c	Fri Jul 27 16:38:02 2012	(r238846)
@@ -41,7 +41,7 @@ __FBSDID("$FreeBSD$");
 #include <arm/at91/at91_piovar.h>
 #include <arm/at91/at91_pio_sam9g45.h>
 
-long
+BOARD_INIT long
 board_init(void)
 {
 

Modified: head/sys/arm/at91/std.atmel
==============================================================================
--- head/sys/arm/at91/std.atmel	Fri Jul 27 14:48:41 2012	(r238845)
+++ head/sys/arm/at91/std.atmel	Fri Jul 27 16:38:02 2012	(r238846)
@@ -9,6 +9,7 @@ options 	PHYSADDR=0x20000000
 device		at91rm9200
 device		at91sam9260
 device		at91sam9g20
+device		at91sam9g45
 device		at91sam9x25
 
 # bring in the sam specific timers and such

Modified: head/sys/arm/conf/ATMEL
==============================================================================
--- head/sys/arm/conf/ATMEL	Fri Jul 27 14:48:41 2012	(r238845)
+++ head/sys/arm/conf/ATMEL	Fri Jul 27 16:38:02 2012	(r238846)
@@ -28,6 +28,7 @@ device		at91_board_qila9g20
 device		at91_board_sam9260ek
 device		at91_board_sam9g20ek
 device		at91_board_sam9x25ek
+device		at91_board_sn9g45
 device		at91_board_tsc4370
 
 #makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols


More information about the svn-src-head mailing list