xref: /rk3399_rockchip-uboot/include/lynxkdi.h (revision 1f4bb37d6bcae59b18a2438f3cdca6545a831ab5)
1*1f4bb37dSwdenk /*
2*1f4bb37dSwdenk  * (C) Copyright 2003
3*1f4bb37dSwdenk  * Orbacom Systems, Inc.
4*1f4bb37dSwdenk  *
5*1f4bb37dSwdenk  * See file CREDITS for list of people who contributed to this
6*1f4bb37dSwdenk  * project.
7*1f4bb37dSwdenk  *
8*1f4bb37dSwdenk  * This program is free software; you can redistribute it and/or
9*1f4bb37dSwdenk  * modify it under the terms of the GNU General Public License as
10*1f4bb37dSwdenk  * published by the Free Software Foundation; either version 2 of
11*1f4bb37dSwdenk  * the License, or (at your option) any later version.
12*1f4bb37dSwdenk  *
13*1f4bb37dSwdenk  * This program is distributed in the hope that it will be useful,
14*1f4bb37dSwdenk  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15*1f4bb37dSwdenk  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the
16*1f4bb37dSwdenk  * GNU General Public License for more details.
17*1f4bb37dSwdenk  *
18*1f4bb37dSwdenk  * You should have received a copy of the GNU General Public License
19*1f4bb37dSwdenk  * along with this program; if not, write to the Free Software
20*1f4bb37dSwdenk  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21*1f4bb37dSwdenk  * MA 02111-1307 USA
22*1f4bb37dSwdenk  */
23*1f4bb37dSwdenk 
24*1f4bb37dSwdenk #ifndef __LYNXKDI_H__
25*1f4bb37dSwdenk #define __LYNXKDI_H__
26*1f4bb37dSwdenk 
27*1f4bb37dSwdenk 
28*1f4bb37dSwdenk /* Boot parameter struct passed to kernel
29*1f4bb37dSwdenk  */
30*1f4bb37dSwdenk typedef struct lynxos_bootparms_t {
31*1f4bb37dSwdenk 	uint8_t		rsvd1[2];	/* Reserved			*/
32*1f4bb37dSwdenk 	uint8_t		ethaddr[6];	/* Ethernet address		*/
33*1f4bb37dSwdenk 	uint16_t	flags;		/* Boot flags			*/
34*1f4bb37dSwdenk 	uint32_t	rate;		/* System frequency		*/
35*1f4bb37dSwdenk 	uint32_t	clock_ref;	/* Time reference		*/
36*1f4bb37dSwdenk 	uint32_t	dramsz;		/* DRAM size			*/
37*1f4bb37dSwdenk 	uint32_t	rsvd2;		/* Reserved			*/
38*1f4bb37dSwdenk } lynxos_bootparms_t;
39*1f4bb37dSwdenk 
40*1f4bb37dSwdenk 
41*1f4bb37dSwdenk #endif	/* __LYNXKDI_H__ */
42