Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2012 16:38:02 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r238846 - in head/sys/arm: at91 conf
Message-ID:  <201207271638.q6RGc2cS025392@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207271638.q6RGc2cS025392>