xref: /aosp_15_r20/external/coreboot/tests/include/tests/lib/fmap/fmap_config.h (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef FMAPTOOL_GENERATED_HEADER_H_
4 #define FMAPTOOL_GENERATED_HEADER_H_
5 
6 /*
7  * This file was generated using fmaptool from util/cbfstools using
8  * src/mainboard/google/octopus/chromeos.fmd
9  */
10 #define FMAP_OFFSET 0x204000
11 #define FMAP_SIZE 0x620
12 
13 #define FMAP_SECTION_FLASH_START 0
14 #define FMAP_SECTION_FLASH_SIZE 0x1000000
15 #define FMAP_SECTION_WP_RO_START 0
16 #define FMAP_SECTION_WP_RO_SIZE 0x400000
17 #define FMAP_SECTION_SI_DESC_START 0
18 #define FMAP_SECTION_SI_DESC_SIZE 0x1000
19 #define FMAP_SECTION_IFWI_START 0x1000
20 #define FMAP_SECTION_IFWI_SIZE 0x1ff000
21 #define FMAP_SECTION_RO_VPD_START 0x200000
22 #define FMAP_SECTION_RO_VPD_SIZE 0x4000
23 #define FMAP_SECTION_RO_SECTION_START 0x204000
24 #define FMAP_SECTION_RO_SECTION_SIZE 0x1fc000
25 #define FMAP_SECTION_FMAP_START 0x204000
26 #define FMAP_SECTION_FMAP_SIZE 0x800
27 #define FMAP_SECTION_RO_FRID_START 0x204800
28 #define FMAP_SECTION_RO_FRID_SIZE 0x40
29 #define FMAP_SECTION_RO_FRID_PAD_START 0x204840
30 #define FMAP_SECTION_RO_FRID_PAD_SIZE 0x7c0
31 #define FMAP_SECTION_COREBOOT_START 0x205000
32 #define FMAP_SECTION_COREBOOT_SIZE 0x1f8000
33 #define FMAP_SECTION_GBB_START 0x3fd000
34 #define FMAP_SECTION_GBB_SIZE 0x3000
35 #define FMAP_SECTION_MISC_RW_START 0x400000
36 #define FMAP_SECTION_MISC_RW_SIZE 0x30000
37 #define FMAP_SECTION_RW_PRESERVE_START 0x400000
38 #define FMAP_SECTION_RW_PRESERVE_SIZE 0x21000
39 #define FMAP_SECTION_UNIFIED_MRC_CACHE_START 0x400000
40 #define FMAP_SECTION_UNIFIED_MRC_CACHE_SIZE 0x21000
41 #define FMAP_SECTION_RECOVERY_MRC_CACHE_START 0x400000
42 #define FMAP_SECTION_RECOVERY_MRC_CACHE_SIZE 0x10000
43 #define FMAP_SECTION_RW_MRC_CACHE_START 0x410000
44 #define FMAP_SECTION_RW_MRC_CACHE_SIZE 0x10000
45 #define FMAP_SECTION_RW_VAR_MRC_CACHE_START 0x420000
46 #define FMAP_SECTION_RW_VAR_MRC_CACHE_SIZE 0x1000
47 #define FMAP_SECTION_RW_ELOG_START 0x421000
48 #define FMAP_SECTION_RW_ELOG_SIZE 0x3000
49 #define FMAP_SECTION_RW_SHARED_START 0x424000
50 #define FMAP_SECTION_RW_SHARED_SIZE 0x4000
51 #define FMAP_SECTION_SHARED_DATA_START 0x424000
52 #define FMAP_SECTION_SHARED_DATA_SIZE 0x2000
53 #define FMAP_SECTION_VBLOCK_DEV_START 0x426000
54 #define FMAP_SECTION_VBLOCK_DEV_SIZE 0x2000
55 #define FMAP_SECTION_RW_VPD_START 0x428000
56 #define FMAP_SECTION_RW_VPD_SIZE 0x2000
57 #define FMAP_SECTION_RW_NVRAM_START 0x42a000
58 #define FMAP_SECTION_RW_NVRAM_SIZE 0x5000
59 #define FMAP_SECTION_FPF_STATUS_START 0x42f000
60 #define FMAP_SECTION_FPF_STATUS_SIZE 0x1000
61 #define FMAP_SECTION_RW_SECTION_A_START 0x430000
62 #define FMAP_SECTION_RW_SECTION_A_SIZE 0x480000
63 #define FMAP_SECTION_VBLOCK_A_START 0x430000
64 #define FMAP_SECTION_VBLOCK_A_SIZE 0x10000
65 #define FMAP_SECTION_FW_MAIN_A_START 0x440000
66 #define FMAP_SECTION_FW_MAIN_A_SIZE 0x46ffc0
67 #define FMAP_SECTION_RW_FWID_A_START 0x8affc0
68 #define FMAP_SECTION_RW_FWID_A_SIZE 0x40
69 #define FMAP_SECTION_RW_SECTION_B_START 0x8b0000
70 #define FMAP_SECTION_RW_SECTION_B_SIZE 0x480000
71 #define FMAP_SECTION_VBLOCK_B_START 0x8b0000
72 #define FMAP_SECTION_VBLOCK_B_SIZE 0x10000
73 #define FMAP_SECTION_FW_MAIN_B_START 0x8c0000
74 #define FMAP_SECTION_FW_MAIN_B_SIZE 0x46ffc0
75 #define FMAP_SECTION_RW_FWID_B_START 0xd2ffc0
76 #define FMAP_SECTION_RW_FWID_B_SIZE 0x40
77 #define FMAP_SECTION_SMMSTORE_START 0xd30000
78 #define FMAP_SECTION_SMMSTORE_SIZE 0x40000
79 #define FMAP_SECTION_RW_LEGACY_START 0xd70000
80 #define FMAP_SECTION_RW_LEGACY_SIZE 0x1c0000
81 #define FMAP_SECTION_BIOS_UNUSABLE_START 0xf30000
82 #define FMAP_SECTION_BIOS_UNUSABLE_SIZE 0x4f000
83 #define FMAP_SECTION_DEVICE_EXTENSION_START 0xf7f000
84 #define FMAP_SECTION_DEVICE_EXTENSION_SIZE 0x80000
85 #define FMAP_SECTION_UNUSED_HOLE_START 0xfff000
86 #define FMAP_SECTION_UNUSED_HOLE_SIZE 0x1000
87 
88 #endif
89