-
Notifications
You must be signed in to change notification settings - Fork 2
/
consts_PA23.h
45 lines (34 loc) · 1.07 KB
/
consts_PA23.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// SBM303SH S0032
#ifndef _CONSTS_PA23_H_
#define _CONSTS_PA23_H_
#define FREE_MEMORY_ADDR 0x24000000
#define FONT_BUFFER_ADDR 0x18000000
#define DISPLAY_1080 1
#define VIDEO_BUFFER_ADDR 0x12000000
#define FUNC_DISP_INIT 0xF8044CB0
#define FUNC_DRAW_INIT 0xF803C830
#define FUNC_DRAW_FINI 0xF803C80C
#define FUNC_DRAW_IMAGE 0xF8044E4E
#define FUNC_DRAW_RECT 0xF8044DA8
#define FUNC_MMC_INIT 0xF8038664
#define FUNC_MMC_FINI 0xF803845C
#define FUNC_MMC_SEND_CMD 0xF8037488
#define FUNC_MMC_TRANSFER 0xF8037E24
#define FUNC_MMC_FUNC3 0xF800CBE2
#define FUNC_MMC_FUNC2 0xF800CC5C
#define FUNC_MMC_WPOFF 0xF800CE4C
#define FUNC_MMC_PART_OPEN_IMPL 0xF8023DF8
#define FUNC_MMC_PART_CLOSE_IMPL 0xF80215F6
#define FUNC_MMC_PART_READ_IMPL 0xF8021602
#define FUNC_MMC_PART_WRITE_IMPL 0xF8021662
#define PART_BOOT 13
#define PART_TWRP 14
#define PART_ABOOT 15
#define PART_IPL 16
#define PART_FOTA 31
#define SIZE_BOOT (17 * 1024 * 1024)
#define SIZE_TWRP (25 * 1024 * 1024)
#define SIZE_ABOOT (16 * 1024 * 1024)
#define SIZE_IPL (15 * 1024 * 1024)
#define SIZE_FOTA (112 * 1024 * 1024)
#endif