at91var.h (238390) | at91var.h (238397) |
---|---|
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: head/sys/arm/at91/at91var.h 238390 2012-07-12 04:23:11Z imp $ */ | 26/* $FreeBSD: head/sys/arm/at91/at91var.h 238397 2012-07-12 13:45:58Z imp $ */ |
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> --- 64 unchanged lines hidden (view full) --- 99 AT91_FAMILY_SAM9XE = 0x29, 100 AT91_FAMILY_RM92 = 0x92, 101}; 102 103#define AT91_SOC_NAME_MAX 50 104 105typedef void (*DELAY_t)(int); 106typedef void (*cpu_reset_t)(void); | 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> --- 64 unchanged lines hidden (view full) --- 99 AT91_FAMILY_SAM9XE = 0x29, 100 AT91_FAMILY_RM92 = 0x92, 101}; 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); |
|
107 108struct at91_soc_data { 109 DELAY_t soc_delay; 110 cpu_reset_t soc_reset; | 108 109struct at91_soc_data { 110 DELAY_t soc_delay; 111 cpu_reset_t soc_reset; |
112 clk_init_t soc_clock_init; |
|
111 const int *soc_irq_prio; 112 const struct cpu_devs *soc_children; 113}; 114 115struct at91_soc_info { 116 enum at91_soc_type type; 117 enum at91_soc_subtype subtype; 118 enum at91_soc_family family; --- 49 unchanged lines hidden --- | 113 const int *soc_irq_prio; 114 const struct cpu_devs *soc_children; 115}; 116 117struct at91_soc_info { 118 enum at91_soc_type type; 119 enum at91_soc_subtype subtype; 120 enum at91_soc_family family; --- 49 unchanged lines hidden --- |