mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-05 10:33:42 +08:00
1f4bb37d6b
Add support for LynuxWorks Kernel Downloadable Images (KDIs). Both LynxOS and BlueCat linux KDIs are supported. * Patch by Richard Woodruff, 25 Jul 2003: use more reliable reset for OMAP/925T * Patch by Nye Liu, 25 Jul 2003: fix typo in mpc8xx.h * Patch by Richard Woodruff, 24 Jul 2003: Fixes for cmd_nand.c: - Fixed null dereferece which could result in incorrect ECC values. - Added support for devices with no Ready/Busy signal hooked up. - Added OMAP1510 read/write protect handling. - Fixed nand.h's ECCPOS. A conflict existed with POS5 and badblock for non-JFFS2. - Switched default ECC to be JFFS2.
42 lines
1.3 KiB
C
42 lines
1.3 KiB
C
/*
|
|
* (C) Copyright 2003
|
|
* Orbacom Systems, Inc.
|
|
*
|
|
* See file CREDITS for list of people who contributed to this
|
|
* project.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License as
|
|
* published by the Free Software Foundation; either version 2 of
|
|
* the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
* MA 02111-1307 USA
|
|
*/
|
|
|
|
#ifndef __LYNXKDI_H__
|
|
#define __LYNXKDI_H__
|
|
|
|
|
|
/* Boot parameter struct passed to kernel
|
|
*/
|
|
typedef struct lynxos_bootparms_t {
|
|
uint8_t rsvd1[2]; /* Reserved */
|
|
uint8_t ethaddr[6]; /* Ethernet address */
|
|
uint16_t flags; /* Boot flags */
|
|
uint32_t rate; /* System frequency */
|
|
uint32_t clock_ref; /* Time reference */
|
|
uint32_t dramsz; /* DRAM size */
|
|
uint32_t rsvd2; /* Reserved */
|
|
} lynxos_bootparms_t;
|
|
|
|
|
|
#endif /* __LYNXKDI_H__ */
|