This patch cleans up the include directory, as they were from vendors 2.4 GPL source. Now only what's used is there. Signed-off-by: Scott Nicholas <scott.nicholas@scottn.us> SVN-Revision: 25175master
parent
2689e63f58
commit
a5adea5c2a
@ -1,84 +0,0 @@ |
||||
/************************************************************************
|
||||
* |
||||
* Copyright (c) 2005 |
||||
* Infineon Technologies AG |
||||
* St. Martin Strasse 53; 81669 Muenchen; Germany |
||||
* |
||||
************************************************************************/ |
||||
#ifndef _BSP_SUP_H_ |
||||
#define _BSP_SUP_H_ |
||||
|
||||
#define ADD_WAN_MAC |
||||
#define CONFIG_IFX_GAN |
||||
#define UBOOT_CFG_ENV_SIZE (0x400-4) |
||||
#define ADM8668_BL_MAGIC 0x6c62676d |
||||
#define ADM8668_MAC_MAGIC 0x69666164 |
||||
#define ADM8668_VER_MAGIC 0x7276676d |
||||
#define ADM8668_ID_MAGIC 0x6469676d |
||||
#define ADM8668_IF_MAGIC 0x6669676d |
||||
#define ADM8668_WANMAC_MAGIC 0x69666164 |
||||
#define ADM8668_IMEI_MAGIC 0x6669676e |
||||
|
||||
#define BSP_IFNAME_MAX_LEN 15 |
||||
#define BOOT_LINE_SIZE 255 |
||||
#define BSP_STR_LEN 79 |
||||
|
||||
|
||||
/*
|
||||
* Boot mode configuration |
||||
*/ |
||||
typedef struct BTMODE_CFG_S |
||||
{ |
||||
unsigned long btmode; |
||||
unsigned long dlmethod; |
||||
} BTMODE_CFG_T; |
||||
|
||||
|
||||
/*
|
||||
* Interface configuration |
||||
*/ |
||||
typedef struct IF_CFG_S |
||||
{ |
||||
char ifname[BSP_IFNAME_MAX_LEN+1]; |
||||
unsigned long ip; |
||||
unsigned long mask; |
||||
unsigned long gateway; |
||||
} IF_CFG_T; |
||||
|
||||
|
||||
/*
|
||||
* Board configuration |
||||
*/ |
||||
typedef struct BOARD_CFG_S |
||||
{ |
||||
unsigned long blmagic; |
||||
unsigned char blreserved[UBOOT_CFG_ENV_SIZE]; |
||||
|
||||
unsigned long macmagic; |
||||
unsigned char mac[8]; |
||||
unsigned long macnum; |
||||
|
||||
unsigned long idmagic; |
||||
unsigned char serial[BSP_STR_LEN+1]; |
||||
|
||||
unsigned long vermagic; |
||||
unsigned char ver[BSP_STR_LEN+1]; |
||||
|
||||
unsigned long ifmagic; |
||||
IF_CFG_T ifcfg[8]; |
||||
|
||||
unsigned long btmagic; |
||||
BTMODE_CFG_T bootmode; |
||||
|
||||
unsigned long wanmagic; |
||||
unsigned char wanmac[8]; |
||||
|
||||
unsigned long imeimagic; |
||||
unsigned char imei0[16]; |
||||
unsigned char imei1[16]; |
||||
} BOARD_CFG_T, *PBOARD_CFG_T; |
||||
|
||||
#define ADM8668_BOARD_CFG_ADDR (ADM8668_SMEM0_BASE + CONFIG_ADM8668_BSP_OFFSET*1024) |
||||
#define ADM8668_BOARD_CFG_SIZE (CONFIG_ADM8668_BSP_SIZE*1024) |
||||
|
||||
#endif /* _BSP_SUP_H_ */ |
@ -1,55 +0,0 @@ |
||||
/*
|
||||
* Carsten Langgaard, carstenl@mips.com |
||||
* Copyright (C) 2000 MIPS Technologies, Inc. All rights reserved. |
||||
* |
||||
* ######################################################################## |
||||
* |
||||
* This program is free software; you can distribute it and/or modify it |
||||
* under the terms of the GNU General Public License (Version 2) as |
||||
* published by the Free Software Foundation. |
||||
* |
||||
* This program is distributed in the hope 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. |
||||
* |
||||
* ######################################################################## |
||||
* |
||||
* MIPS boards bootprom interface for the Linux kernel. |
||||
* |
||||
*/ |
||||
/************************************************************************
|
||||
* |
||||
* Copyright (c) 2005 |
||||
* Infineon Technologies AG |
||||
* St. Martin Strasse 53; 81669 Muenchen; Germany |
||||
* |
||||
************************************************************************/ |
||||
#ifndef _MIPS_PROM_H |
||||
#define _MIPS_PROM_H |
||||
|
||||
extern char *prom_getcmdline(void); |
||||
extern char *prom_getenv(char *name); |
||||
extern void setup_prom_printf(int tty_no); |
||||
extern void prom_printf(char *fmt, ...); |
||||
extern void prom_init_cmdline(void); |
||||
extern void prom_meminit(void); |
||||
extern void prom_fixup_mem_map(unsigned long start_mem, unsigned long end_mem); |
||||
extern void prom_free_prom_memory (void); |
||||
extern void mips_display_message(const char *str); |
||||
extern void mips_display_word(unsigned int num); |
||||
extern int get_ethernet_addr(char *ethernet_addr); |
||||
|
||||
/* Memory descriptor management. */ |
||||
#define PROM_MAX_PMEMBLOCKS 32 |
||||
struct prom_pmemblock { |
||||
unsigned long base; /* Within KSEG0. */ |
||||
unsigned int size; /* In bytes. */ |
||||
unsigned int type; /* free or prom memory */ |
||||
}; |
||||
|
||||
#endif /* !(_MIPS_PROM_H) */ |
Loading…
Reference in new issue