Loading...
Searching...
No Matches
Go to the documentation of this file.
12#define R_SPI_BASE 0x10
13#define B_SPI_BAR0_MASK 0x0FFF
15#define B_SPI_BCR_SRC (BIT3 | BIT2)
16#define V_SPI_BCR_SRC_PREF_DIS_CACHE_DIS 0x04
17#define B_SPI_BCR_SYNC_SS BIT8
18#define B_SPI_BCR_BIOSWE BIT0
22#define R_SPI_HSFS 0x04
23#define B_SPI_HSFS_FDBC_MASK 0x3F000000
24#define N_SPI_HSFS_FDBC 24
25#define B_SPI_HSFS_CYCLE_MASK 0x001E0000
26#define N_SPI_HSFS_CYCLE 17
27#define V_SPI_HSFS_CYCLE_READ 0
28#define V_SPI_HSFS_CYCLE_WRITE 2
29#define V_SPI_HSFS_CYCLE_4K_ERASE 3
30#define V_SPI_HSFS_CYCLE_64K_ERASE 4
31#define V_SPI_HSFS_CYCLE_READ_SFDP 5
32#define V_SPI_HSFS_CYCLE_READ_JEDEC_ID 6
33#define V_SPI_HSFS_CYCLE_WRITE_STATUS 7
34#define V_SPI_HSFS_CYCLE_READ_STATUS 8
35#define B_SPI_HSFS_CYCLE_FGO BIT16
36#define B_SPI_HSFS_FDV BIT14
37#define B_SPI_HSFS_SCIP BIT5
38#define B_SPI_HSFS_FCERR BIT1
39#define B_SPI_HSFS_FDONE BIT0
41#define R_SPI_FADDR 0x08
42#define B_SPI_FADDR_MASK 0x07FFFFFF
44#define R_SPI_FDATA00 0x10
46#define R_SPI_FRAP 0x50
47#define B_SPI_FRAP_BRWA_PLATFORM BIT12
48#define B_SPI_FRAP_BRWA_GBE BIT11
49#define B_SPI_FRAP_BRWA_SEC BIT10
50#define B_SPI_FRAP_BRWA_BIOS BIT9
51#define B_SPI_FRAP_BRWA_FLASHD BIT8
52#define B_SPI_FRAP_BRRA_PLATFORM BIT4
53#define B_SPI_FRAP_BRRA_GBE BIT3
54#define B_SPI_FRAP_BRRA_SEC BIT2
55#define B_SPI_FRAP_BRRA_BIOS BIT1
56#define B_SPI_FRAP_BRRA_FLASHD BIT0
58#define R_SPI_FREG0_FLASHD 0x54
59#define B_SPI_FREG0_LIMIT_MASK 0x7FFF0000
60#define N_SPI_FREG0_LIMIT 4
61#define B_SPI_FREG0_BASE_MASK 0x00007FFF
62#define N_SPI_FREG0_BASE 12
64#define R_SPI_FREG1_BIOS 0x58
65#define B_SPI_FREG1_LIMIT_MASK 0x7FFF0000
66#define N_SPI_FREG1_LIMIT 4
67#define B_SPI_FREG1_BASE_MASK 0x00007FFF
68#define N_SPI_FREG1_BASE 12
70#define R_SPI_FREG2_SEC 0x5C
71#define B_SPI_FREG2_LIMIT_MASK 0x7FFF0000
72#define N_SPI_FREG2_LIMIT 4
73#define B_SPI_FREG2_BASE_MASK 0x00007FFF
74#define N_SPI_FREG2_BASE 12
76#define R_SPI_FREG3_GBE 0x60
77#define B_SPI_FREG3_LIMIT_MASK 0x7FFF0000
78#define N_SPI_FREG3_LIMIT 4
79#define B_SPI_FREG3_BASE_MASK 0x00007FFF
80#define N_SPI_FREG3_BASE 12
82#define R_SPI_FREG4_PLATFORM_DATA 0x64
83#define B_SPI_FREG4_LIMIT_MASK 0x7FFF0000
84#define N_SPI_FREG4_LIMIT 4
85#define B_SPI_FREG4_BASE_MASK 0x00007FFF
86#define N_SPI_FREG4_BASE 12
89#define B_SPI_FREGX_LIMIT_MASK 0x7FFF0000
90#define N_SPI_FREGX_LIMIT 16
91#define N_SPI_FREGX_LIMIT_REPR 12
92#define B_SPI_FREGX_BASE_MASK 0x00007FFF
94#define R_SPI_FDOC 0xB4
95#define B_SPI_FDOC_FDSS_MASK (BIT14 | BIT13 | BIT12)
96#define V_SPI_FDOC_FDSS_FSDM 0x0000
97#define V_SPI_FDOC_FDSS_COMP 0x1000
98#define B_SPI_FDOC_FDSI_MASK 0x0FFC
100#define R_SPI_FDOD 0xB8
102#define R_SPI_LVSCC 0xC4
103#define B_SPI_LVSCC_EO_64K BIT29
105#define R_SPI_UVSCC 0xC8
107#define R_SPI_FDBAR_FLASH_MAP0 0x14
108#define N_SPI_FDBAR_NC 8
109#define B_SPI_FDBAR_NC 0x00000300
111#define R_SPI_FDBAR_FLASH_MAP1 0x18
112#define B_SPI_FDBAR_FPSBA 0x00FF0000
117#define R_SPI_FCBA_FLCOMP 0x00
118#define B_SPI_FLCOMP_COMP1_MASK 0x0F