| .. | .. |
|---|
| 56 | 56 | #define RK_LSC_RESERVED_SIZE 0x0020 |
|---|
| 57 | 57 | #define RK_GAINMAP_SIZE 0x0800 |
|---|
| 58 | 58 | #define RK_DCCMAP_SIZE 0x0200 |
|---|
| 59 | | -#define RK_PDAF_RESERVED_SIZE 0x0020 |
|---|
| 59 | +#define RK_PDAF_RESERVED_SIZE 0x001e |
|---|
| 60 | 60 | #define RK_AF_RESERVED_SIZE 0x0014 |
|---|
| 61 | 61 | #define RKOTP_MAX_MODULE 0x0008 |
|---|
| 62 | 62 | |
|---|
| .. | .. |
|---|
| 151 | 151 | u32 dccmap_height; |
|---|
| 152 | 152 | u32 dccmap[RK_DCCMAP_SIZE]; |
|---|
| 153 | 153 | u32 dccmap_checksum; |
|---|
| 154 | + u32 pd_offset; |
|---|
| 154 | 155 | u32 checksum; |
|---|
| 155 | 156 | u32 size; |
|---|
| 156 | 157 | }; |
|---|
| .. | .. |
|---|
| 182 | 183 | struct otp_info *otp; |
|---|
| 183 | 184 | struct proc_dir_entry *procfs; |
|---|
| 184 | 185 | char name[128]; |
|---|
| 186 | + struct mutex mutex; |
|---|
| 185 | 187 | }; |
|---|
| 186 | 188 | |
|---|
| 187 | 189 | #endif /* OTP_EEPROM_HEAD_H */ |
|---|