12345678910111213141516171819202122232425262728293031323334 |
- #ifndef _utils_h_
- #define _utils_h_
- #define BLOCKSIZE (0x10000)
- #define SPICELL_MAX (BLOCKSIZE/sizeof(spicell_t))
- #define SPICELL_KEYWORD 0xce110006
- typedef struct _spicell_t{
- unsigned int keyword;
- unsigned char umf[8188];
- }spicell_t;
- typedef struct _spicells_t{
- spicell_t cells[SPICELL_MAX];
- }spicells_t;
- typedef struct _MenuSetting_t{
- //LVDS format for bootrom
- u32 LVDSFormat[9];
- //~LVDS format for bootrom
- //for predriver
- u32 PreMainSource; //0~7:device num, 8~32:source type
- u32 LastATVFreq;
- u32 LastDTVFreq;
- }MenuSetting_t;
- typedef struct _MenuDefault_t
- {
- u32 sync_id;
- u32 size;
- MenuSetting_t menuSettingDefault;
- }MenuDefault_t;
- #endif
|