summaryrefslogtreecommitdiffstats
path: root/sys/arm/at91/board_qila9g20.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2012-07-07 05:02:39 +0000
committerimp <imp@FreeBSD.org>2012-07-07 05:02:39 +0000
commit3cb9677e87768a54552e1e340ac60464ce7e2773 (patch)
tree9d682509a1fcbdee7c3f71711ae9039defb47c58 /sys/arm/at91/board_qila9g20.c
parent16d0ba79413dcd4f8e9c90bf3eea144d52213c87 (diff)
downloadFreeBSD-src-3cb9677e87768a54552e1e340ac60464ce7e2773.zip
FreeBSD-src-3cb9677e87768a54552e1e340ac60464ce7e2773.tar.gz
Create a generic way to support multiple boards within an
arm platform. Add all the atmel boards to the ATMEL kernel for testing purposes. Until boot loader arg parsing of baord type is done, this won't actually be able to do the runtime selection.
Diffstat (limited to 'sys/arm/at91/board_qila9g20.c')
-rw-r--r--sys/arm/at91/board_qila9g20.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arm/at91/board_qila9g20.c b/sys/arm/at91/board_qila9g20.c
index 769782b..4c94b2b 100644
--- a/sys/arm/at91/board_qila9g20.c
+++ b/sys/arm/at91/board_qila9g20.c
@@ -32,6 +32,7 @@ __FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/systm.h>
+#include <machine/board.h>
#include <arm/at91/at91board.h>
#include <arm/at91/at91reg.h>
#include <arm/at91/at91var.h>
@@ -44,7 +45,7 @@ __FBSDID("$FreeBSD$");
#define AT91SAM9G20_LED_SIZE AT91SAM9G20_PIO_SIZE
#define AT91SAM9G20_IRQ_LED AT91SAM9G20_IRQ_PIOA
-long
+BOARD_INIT long
board_init(void)
{
@@ -103,3 +104,5 @@ board_init(void)
return (at91_ramsize());
}
+
+ARM_BOARD(QIL_A9G20, "Calico System QIL-9G20-Cxx");
OpenPOWER on IntegriCloud