diff options
author | imp <imp@FreeBSD.org> | 2012-07-07 05:02:39 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2012-07-07 05:02:39 +0000 |
commit | 3cb9677e87768a54552e1e340ac60464ce7e2773 (patch) | |
tree | 9d682509a1fcbdee7c3f71711ae9039defb47c58 /sys/arm/at91/board_tsc4370.c | |
parent | 16d0ba79413dcd4f8e9c90bf3eea144d52213c87 (diff) | |
download | FreeBSD-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_tsc4370.c')
-rw-r--r-- | sys/arm/at91/board_tsc4370.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arm/at91/board_tsc4370.c b/sys/arm/at91/board_tsc4370.c index 6529eb8..8139a4a 100644 --- a/sys/arm/at91/board_tsc4370.c +++ b/sys/arm/at91/board_tsc4370.c @@ -29,12 +29,13 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/systm.h> +#include <machine/board.h> #include <arm/at91/at91board.h> #include <arm/at91/at91rm92reg.h> #include <arm/at91/at91_piovar.h> #include <arm/at91/at91_pio_rm9200.h> -long +BOARD_INIT long board_init(void) { /* @@ -73,3 +74,5 @@ board_init(void) return (at91_ramsize()); } + +ARM_BOARD(NONE, "TSC4370 Controller Board"); |