1 /************************************************************************
4 * Infineon Technologies AG
5 * St. Martin Strasse 53; 81669 Muenchen; Germany
7 ************************************************************************/
12 #define CONFIG_IFX_GAN
13 #define UBOOT_CFG_ENV_SIZE (0x400-4)
14 #define ADM8668_BL_MAGIC 0x6c62676d
15 #define ADM8668_MAC_MAGIC 0x69666164
16 #define ADM8668_VER_MAGIC 0x7276676d
17 #define ADM8668_ID_MAGIC 0x6469676d
18 #define ADM8668_IF_MAGIC 0x6669676d
19 #define ADM8668_WANMAC_MAGIC 0x69666164
20 #define ADM8668_IMEI_MAGIC 0x6669676e
22 #define BSP_IFNAME_MAX_LEN 15
23 #define BOOT_LINE_SIZE 255
24 #define BSP_STR_LEN 79
28 * Boot mode configuration
30 typedef struct BTMODE_CFG_S
33 unsigned long dlmethod
;
38 * Interface configuration
40 typedef struct IF_CFG_S
42 char ifname
[BSP_IFNAME_MAX_LEN
+1];
45 unsigned long gateway
;
52 typedef struct BOARD_CFG_S
54 unsigned long blmagic
;
55 unsigned char blreserved
[UBOOT_CFG_ENV_SIZE
];
57 unsigned long macmagic
;
61 unsigned long idmagic
;
62 unsigned char serial
[BSP_STR_LEN
+1];
64 unsigned long vermagic
;
65 unsigned char ver
[BSP_STR_LEN
+1];
67 unsigned long ifmagic
;
70 unsigned long btmagic
;
71 BTMODE_CFG_T bootmode
;
73 unsigned long wanmagic
;
74 unsigned char wanmac
[8];
76 unsigned long imeimagic
;
77 unsigned char imei0
[16];
78 unsigned char imei1
[16];
79 } BOARD_CFG_T
, *PBOARD_CFG_T
;
81 #define ADM8668_BOARD_CFG_ADDR (ADM8668_SMEM0_BASE + CONFIG_ADM8668_BSP_OFFSET*1024)
82 #define ADM8668_BOARD_CFG_SIZE (CONFIG_ADM8668_BSP_SIZE*1024)
84 #endif /* _BSP_SUP_H_ */
This page took 0.057454 seconds and 5 git commands to generate.