at91var.h (256281) | at91var.h (266087) |
---|---|
1/*- 2 * Copyright (c) 2005 Olivier Houchard. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 9 unchanged lines hidden (view full) --- 18 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23 * SUCH DAMAGE. 24 */ 25 | 1/*- 2 * Copyright (c) 2005 Olivier Houchard. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 9 unchanged lines hidden (view full) --- 18 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23 * SUCH DAMAGE. 24 */ 25 |
26/* $FreeBSD: stable/10/sys/arm/at91/at91var.h 238403 2012-07-12 19:11:37Z imp $ */ | 26/* $FreeBSD: stable/10/sys/arm/at91/at91var.h 266087 2014-05-14 20:31:54Z ian $ */ |
27 28#ifndef _AT91VAR_H_ 29#define _AT91VAR_H_ 30 31#include <sys/bus.h> 32#include <sys/rman.h> 33 34#include <arm/at91/at91reg.h> --- 67 unchanged lines hidden (view full) --- 102 103#define AT91_SOC_NAME_MAX 50 104 105typedef void (*DELAY_t)(int); 106typedef void (*cpu_reset_t)(void); 107typedef void (*clk_init_t)(void); 108 109struct at91_soc_data { | 27 28#ifndef _AT91VAR_H_ 29#define _AT91VAR_H_ 30 31#include <sys/bus.h> 32#include <sys/rman.h> 33 34#include <arm/at91/at91reg.h> --- 67 unchanged lines hidden (view full) --- 102 103#define AT91_SOC_NAME_MAX 50 104 105typedef void (*DELAY_t)(int); 106typedef void (*cpu_reset_t)(void); 107typedef void (*clk_init_t)(void); 108 109struct at91_soc_data { |
110 DELAY_t soc_delay; 111 cpu_reset_t soc_reset; 112 clk_init_t soc_clock_init; 113 const int *soc_irq_prio; 114 const struct cpu_devs *soc_children; | 110 DELAY_t soc_delay; /* SoC specific delay function */ 111 cpu_reset_t soc_reset; /* SoC specific reset function */ 112 clk_init_t soc_clock_init; /* SoC specific clock init function */ 113 const int *soc_irq_prio; /* SoC specific IRQ priorities */ 114 const struct cpu_devs *soc_children; /* SoC specific children list */ 115 const uint32_t *soc_pio_base; /* SoC specific PIO base registers */ 116 size_t soc_pio_count; /* Count of PIO units (not pins) in SoC */ |
115}; 116 117struct at91_soc_info { 118 enum at91_soc_type type; 119 enum at91_soc_subtype subtype; 120 enum at91_soc_family family; 121 uint32_t cidr; 122 uint32_t exid; --- 48 unchanged lines hidden --- | 117}; 118 119struct at91_soc_info { 120 enum at91_soc_type type; 121 enum at91_soc_subtype subtype; 122 enum at91_soc_family family; 123 uint32_t cidr; 124 uint32_t exid; --- 48 unchanged lines hidden --- |