
#ifndef __ONECHIP_LOAD_INF_H_
#define __ONECHIP_LOAD_INF_H_

#define HARD_VERSION_1    (0x01)//硬件版本号
#define HARD_VERSION_2    (0x00)//硬件版本号

#define SOFT_VERSION_1  1	//软件版本号
#define SOFT_VERSION_2  0	//软件版本号
#define SOFT_VERSION_3  2	//软件版本号
#define SOFT_VERSION_4  8	//软件版本号



typedef enum {
	ONECHIP_DEVICETYPE_NONE = 0,
	ONECHIP_MINI7_V2 = 1,
}ONECHIP_DEVICETYPE_TYPE;

typedef enum {
	ONECHIP_HARDWARE_VERSION_NONE = 0,
	ONECHIP_HARDWARE_VERSION_DEMO = 0,
	ONECHIP_HARDWARE_VERSION_V0_1 = 0x31303048, /*H001*/
	ONECHIP_HARDWARE_VERSION_V0_2 = 0x32303048, /*H002*/
	ONECHIP_HARDWARE_VERSION_V1_1 = 0x31303148, /*H101*/
}ONECHIP_HARDWARE_VERSION_TYPE;
typedef enum {
	ONECHIP_SATRUCTURE_VERSION_NONE = 0,
	ONECHIP_SATRUCTURE_VERSION_DEMO = 0,
	ONECHIP_SATRUCTURE_VERSION_V0_1 = 0x31303048, /*H001*/
	ONECHIP_SATRUCTURE_VERSION_V0_2 = 0x32303048, /*H002*/
	ONECHIP_SATRUCTURE_VERSION_V1_1 = 0x31303148, /*H101*/
}ONECHIP_SATRUCTURE_VERSION_TYPE;


void dev_save_description (void);
void dev_load_description (void);
void cfg_dev_description (unsigned int dev,unsigned int strtype,unsigned int hdtype,unsigned int devver,unsigned int strver,unsigned int hdver);
void dev_load_allinf (void);
void dev_load_function (void);
void con_sysinf_debugUart(void * uart);
void dev_load_function_after_os (void);

#endif //__ONECHIP_LOAD_INF_H_

