board_ethernut5.c (238189) | board_ethernut5.c (238442) |
---|---|
1/*- 2 * Copyright (c) 2012 Marius Strobl <marius@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 15 unchanged lines hidden (view full) --- 24 * SUCH DAMAGE. 25 */ 26 27/* 28 * Ethernut 5 board support 29 */ 30 31#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2012 Marius Strobl <marius@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 15 unchanged lines hidden (view full) --- 24 * SUCH DAMAGE. 25 */ 26 27/* 28 * Ethernut 5 board support 29 */ 30 31#include <sys/cdefs.h> |
32__FBSDID("$FreeBSD: head/sys/arm/at91/board_ethernut5.c 238189 2012-07-07 05:02:39Z imp $"); | 32__FBSDID("$FreeBSD: head/sys/arm/at91/board_ethernut5.c 238442 2012-07-14 06:00:37Z imp $"); |
33 34#include <sys/param.h> 35#include <sys/systm.h> 36#include <machine/board.h> 37#include <arm/at91/at91_pioreg.h> 38#include <arm/at91/at91_piovar.h> 39#include <arm/at91/at91board.h> 40#include <arm/at91/at91sam9260reg.h> --- 100 unchanged lines hidden (view full) --- 141 /* TXD2 */ 142 at91_pio_use_periph_a(AT91SAM9260_PIOB_BASE, AT91C_PIO_PB8, 1); 143 /* RXD2 */ 144 at91_pio_use_periph_a(AT91SAM9260_PIOB_BASE, AT91C_PIO_PB9, 0); 145 146 return (at91_ramsize()); 147} 148 | 33 34#include <sys/param.h> 35#include <sys/systm.h> 36#include <machine/board.h> 37#include <arm/at91/at91_pioreg.h> 38#include <arm/at91/at91_piovar.h> 39#include <arm/at91/at91board.h> 40#include <arm/at91/at91sam9260reg.h> --- 100 unchanged lines hidden (view full) --- 141 /* TXD2 */ 142 at91_pio_use_periph_a(AT91SAM9260_PIOB_BASE, AT91C_PIO_PB8, 1); 143 /* RXD2 */ 144 at91_pio_use_periph_a(AT91SAM9260_PIOB_BASE, AT91C_PIO_PB9, 0); 145 146 return (at91_ramsize()); 147} 148 |
149ARM_BOARD(NONE, "Ethernut 5") | 149ARM_BOARD(ETHERNUT5, "Ethernut 5") |